{"action":"created","issue":{"url":"https://api.github.com/repos/basho/riak_kv/issues/1234","labels_url":"https://api.github.com/repos/basho/riak_kv/issues/1234/labels{/name}","comments_url":"https://api.github.com/repos/basho/riak_kv/issues/1234/comments","events_url":"https://api.github.com/repos/basho/riak_kv/issues/1234/events","html_url":"https://github.com/basho/riak_kv/pull/1234","id":112270398,"number":1234,"title":"fix client to leveldb double reversal of TS records","user":{"login":"hmmr","id":1107079,"avatar_url":"https://avatars.githubusercontent.com/u/1107079?v=3","gravatar_id":"","url":"https://api.github.com/users/hmmr","html_url":"https://github.com/hmmr","followers_url":"https://api.github.com/users/hmmr/followers","following_url":"https://api.github.com/users/hmmr/following{/other_user}","gists_url":"https://api.github.com/users/hmmr/gists{/gist_id}","starred_url":"https://api.github.com/users/hmmr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmmr/subscriptions","organizations_url":"https://api.github.com/users/hmmr/orgs","repos_url":"https://api.github.com/users/hmmr/repos","events_url":"https://api.github.com/users/hmmr/events{/privacy}","received_events_url":"https://api.github.com/users/hmmr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-20T02:08:53Z","updated_at":"2015-11-10T17:09:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/basho/riak_kv/pulls/1234","html_url":"https://github.com/basho/riak_kv/pull/1234","diff_url":"https://github.com/basho/riak_kv/pull/1234.diff","patch_url":"https://github.com/basho/riak_kv/pull/1234.patch"},"body":"RTS-421.\r\n\r\nBecause the data were coming in reverse order (note the way new\r\nelements are prepended in riak_pb_ts_codec:row_for/2), the records\r\nwere sent to leveldb in reverse order.  However, another reversal was\r\ndone on fetch, the cumulative effect being the eventually correct\r\norder as presented to the client.\r\n\r\nAs leveldb has optimisations in place relying on the TS data in the\r\nun-reversed order, the double reversal is a bug.  This commit is a\r\nfix.\r\n\r\n~~Comes in conjunction with https://github.com/basho/riak_pb/pull/140.~~"},"comment":{"url":"https://api.github.com/repos/basho/riak_kv/issues/comments/155489602","html_url":"https://github.com/basho/riak_kv/pull/1234#issuecomment-155489602","issue_url":"https://api.github.com/repos/basho/riak_kv/issues/1234","id":155489602,"user":{"login":"hmmr","id":1107079,"avatar_url":"https://avatars.githubusercontent.com/u/1107079?v=3","gravatar_id":"","url":"https://api.github.com/users/hmmr","html_url":"https://github.com/hmmr","followers_url":"https://api.github.com/users/hmmr/followers","following_url":"https://api.github.com/users/hmmr/following{/other_user}","gists_url":"https://api.github.com/users/hmmr/gists{/gist_id}","starred_url":"https://api.github.com/users/hmmr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmmr/subscriptions","organizations_url":"https://api.github.com/users/hmmr/orgs","repos_url":"https://api.github.com/users/hmmr/repos","events_url":"https://api.github.com/users/hmmr/events{/privacy}","received_events_url":"https://api.github.com/users/hmmr/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T17:09:09Z","updated_at":"2015-11-10T17:09:09Z","body":"Yes, let it be. I am preoccupied by something elseat the moment; will revisit in a week."}}