{"action":"created","issue":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/2765","labels_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/2765/labels{/name}","comments_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/2765/comments","events_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/2765/events","html_url":"https://github.com/cockroachdb/cockroach/issues/2765","id":109777655,"number":2765,"title":"remove KV-level key length restriction","user":{"login":"tschottdorf","id":5076964,"avatar_url":"https://avatars.githubusercontent.com/u/5076964?v=3","gravatar_id":"","url":"https://api.github.com/users/tschottdorf","html_url":"https://github.com/tschottdorf","followers_url":"https://api.github.com/users/tschottdorf/followers","following_url":"https://api.github.com/users/tschottdorf/following{/other_user}","gists_url":"https://api.github.com/users/tschottdorf/gists{/gist_id}","starred_url":"https://api.github.com/users/tschottdorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tschottdorf/subscriptions","organizations_url":"https://api.github.com/users/tschottdorf/orgs","repos_url":"https://api.github.com/users/tschottdorf/repos","events_url":"https://api.github.com/users/tschottdorf/events{/privacy}","received_events_url":"https://api.github.com/users/tschottdorf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"petermattis","id":6201335,"avatar_url":"https://avatars.githubusercontent.com/u/6201335?v=3","gravatar_id":"","url":"https://api.github.com/users/petermattis","html_url":"https://github.com/petermattis","followers_url":"https://api.github.com/users/petermattis/followers","following_url":"https://api.github.com/users/petermattis/following{/other_user}","gists_url":"https://api.github.com/users/petermattis/gists{/gist_id}","starred_url":"https://api.github.com/users/petermattis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petermattis/subscriptions","organizations_url":"https://api.github.com/users/petermattis/orgs","repos_url":"https://api.github.com/users/petermattis/repos","events_url":"https://api.github.com/users/petermattis/events{/privacy}","received_events_url":"https://api.github.com/users/petermattis/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-10-05T11:30:41Z","updated_at":"2015-10-05T20:47:26Z","closed_at":null,"body":"We don't seem to rely on it and it's likely to cause weird failures when encountered via the SQL layer (plus likely internally as well; it's not really well-tested). Is there any reason to not just rip it out? If we want to limit the length of keys somehow, we could impose some form of limitation in the schema (blocking creation of indexes which could generate large columns)."},"comment":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/comments/145663760","html_url":"https://github.com/cockroachdb/cockroach/issues/2765#issuecomment-145663760","issue_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/2765","id":145663760,"user":{"login":"mrtracy","id":6969858,"avatar_url":"https://avatars.githubusercontent.com/u/6969858?v=3","gravatar_id":"","url":"https://api.github.com/users/mrtracy","html_url":"https://github.com/mrtracy","followers_url":"https://api.github.com/users/mrtracy/followers","following_url":"https://api.github.com/users/mrtracy/following{/other_user}","gists_url":"https://api.github.com/users/mrtracy/gists{/gist_id}","starred_url":"https://api.github.com/users/mrtracy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrtracy/subscriptions","organizations_url":"https://api.github.com/users/mrtracy/orgs","repos_url":"https://api.github.com/users/mrtracy/repos","events_url":"https://api.github.com/users/mrtracy/events{/privacy}","received_events_url":"https://api.github.com/users/mrtracy/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T20:47:26Z","updated_at":"2015-10-05T20:47:26Z","body":"If I remember correctly, the `.Prev()` function was the original inspiration for the maximum key length; if it's gone, then this restriction should be safe to remove completely."}}