{"action":"created","comment":{"url":"https://api.github.com/repos/splicemachine/spliceengine/pulls/comments/72313199","id":72313199,"diff_hunk":"@@ -52,6 +52,10 @@ public long getNext() throws StandardException{\n         return currPosition.getAndAdd(incrementSteps);\n     }\n \n+    public long peekAtCurrentValue() throws StandardException {\n+        return currPosition.get();","path":"splice_machine/src/main/java/com/splicemachine/derby/impl/sql/execute/sequence/AbstractSequence.java","position":5,"original_position":5,"commit_id":"da3cc7ed2d0e8aaee795a4311a5ab61a0afea925","original_commit_id":"da3cc7ed2d0e8aaee795a4311a5ab61a0afea925","user":{"login":"jyuanca","id":5099781,"avatar_url":"https://avatars.githubusercontent.com/u/5099781?v=3","gravatar_id":"","url":"https://api.github.com/users/jyuanca","html_url":"https://github.com/jyuanca","followers_url":"https://api.github.com/users/jyuanca/followers","following_url":"https://api.github.com/users/jyuanca/following{/other_user}","gists_url":"https://api.github.com/users/jyuanca/gists{/gist_id}","starred_url":"https://api.github.com/users/jyuanca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyuanca/subscriptions","organizations_url":"https://api.github.com/users/jyuanca/orgs","repos_url":"https://api.github.com/users/jyuanca/repos","events_url":"https://api.github.com/users/jyuanca/events{/privacy}","received_events_url":"https://api.github.com/users/jyuanca/received_events","type":"User","site_admin":false},"body":"The current block can only be consumed by getNext(). PeekAtCurrentValue does not consume anything, only returns the current value.","created_at":"2016-07-26T18:51:41Z","updated_at":"2016-07-26T18:51:41Z","html_url":"https://github.com/splicemachine/spliceengine/pull/38#discussion_r72313199","pull_request_url":"https://api.github.com/repos/splicemachine/spliceengine/pulls/38","_links":{"self":{"href":"https://api.github.com/repos/splicemachine/spliceengine/pulls/comments/72313199"},"html":{"href":"https://github.com/splicemachine/spliceengine/pull/38#discussion_r72313199"},"pull_request":{"href":"https://api.github.com/repos/splicemachine/spliceengine/pulls/38"}}},"pull_request":{"url":"https://api.github.com/repos/splicemachine/spliceengine/pulls/38","id":78741651,"html_url":"https://github.com/splicemachine/spliceengine/pull/38","diff_url":"https://github.com/splicemachine/spliceengine/pull/38.diff","patch_url":"https://github.com/splicemachine/spliceengine/pull/38.patch","issue_url":"https://api.github.com/repos/splicemachine/spliceengine/issues/38","number":38,"state":"open","locked":false,"title":"SPLICE-128: Fix SYSCS_UTIL.SYSCS_PEEK_AT_SEQUENCE","user":{"login":"jyuanca","id":5099781,"avatar_url":"https://avatars.githubusercontent.com/u/5099781?v=3","gravatar_id":"","url":"https://api.github.com/users/jyuanca","html_url":"https://github.com/jyuanca","followers_url":"https://api.github.com/users/jyuanca/followers","following_url":"https://api.github.com/users/jyuanca/following{/other_user}","gists_url":"https://api.github.com/users/jyuanca/gists{/gist_id}","starred_url":"https://api.github.com/users/jyuanca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyuanca/subscriptions","organizations_url":"https://api.github.com/users/jyuanca/orgs","repos_url":"https://api.github.com/users/jyuanca/repos","events_url":"https://api.github.com/users/jyuanca/events{/privacy}","received_events_url":"https://api.github.com/users/jyuanca/received_events","type":"User","site_admin":false},"body":"DataDictionaryImpl.peekAtSequence() tries to peek next sequence number from SequenceUpdater, which is obsolete. The code changes make it work by peeking SpliceSequence.","created_at":"2016-07-25T19:57:27Z","updated_at":"2016-07-26T18:51:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7e12a63df2fa6ade83bca91c8697c03e79136bdd","assignee":{"login":"scottfines","id":371216,"avatar_url":"https://avatars.githubusercontent.com/u/371216?v=3","gravatar_id":"","url":"https://api.github.com/users/scottfines","html_url":"https://github.com/scottfines","followers_url":"https://api.github.com/users/scottfines/followers","following_url":"https://api.github.com/users/scottfines/following{/other_user}","gists_url":"https://api.github.com/users/scottfines/gists{/gist_id}","starred_url":"https://api.github.com/users/scottfines/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottfines/subscriptions","organizations_url":"https://api.github.com/users/scottfines/orgs","repos_url":"https://api.github.com/users/scottfines/repos","events_url":"https://api.github.com/users/scottfines/events{/privacy}","received_events_url":"https://api.github.com/users/scottfines/received_events","type":"User","site_admin":false},"assignees":[{"login":"scottfines","id":371216,"avatar_url":"https://avatars.githubusercontent.com/u/371216?v=3","gravatar_id":"","url":"https://api.github.com/users/scottfines","html_url":"https://github.com/scottfines","followers_url":"https://api.github.com/users/scottfines/followers","following_url":"https://api.github.com/users/scottfines/following{/other_user}","gists_url":"https://api.github.com/users/scottfines/gists{/gist_id}","starred_url":"https://api.github.com/users/scottfines/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottfines/subscriptions","organizations_url":"https://api.github.com/users/scottfines/orgs","repos_url":"https://api.github.com/users/scottfines/repos","events_url":"https://api.github.com/users/scottfines/events{/privacy}","received_events_url":"https://api.github.com/users/scottfines/received_events","type":"User","site_admin":false},{"login":"dgomezferro","id":751899,"avatar_url":"https://avatars.githubusercontent.com/u/751899?v=3","gravatar_id":"","url":"https://api.github.com/users/dgomezferro","html_url":"https://github.com/dgomezferro","followers_url":"https://api.github.com/users/dgomezferro/followers","following_url":"https://api.github.com/users/dgomezferro/following{/other_user}","gists_url":"https://api.github.com/users/dgomezferro/gists{/gist_id}","starred_url":"https://api.github.com/users/dgomezferro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgomezferro/subscriptions","organizations_url":"https://api.github.com/users/dgomezferro/orgs","repos_url":"https://api.github.com/users/dgomezferro/repos","events_url":"https://api.github.com/users/dgomezferro/events{/privacy}","received_events_url":"https://api.github.com/users/dgomezferro/received_events","type":"User","site_admin":false},{"login":"genedavis","id":1200144,"avatar_url":"https://avatars.githubusercontent.com/u/1200144?v=3","gravatar_id":"","url":"https://api.github.com/users/genedavis","html_url":"https://github.com/genedavis","followers_url":"https://api.github.com/users/genedavis/followers","following_url":"https://api.github.com/users/genedavis/following{/other_user}","gists_url":"https://api.github.com/users/genedavis/gists{/gist_id}","starred_url":"https://api.github.com/users/genedavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genedavis/subscriptions","organizations_url":"https://api.github.com/users/genedavis/orgs","repos_url":"https://api.github.com/users/genedavis/repos","events_url":"https://api.github.com/users/genedavis/events{/privacy}","received_events_url":"https://api.github.com/users/genedavis/received_events","type":"User","site_admin":false},{"login":"jleach4","id":1850293,"avatar_url":"https://avatars.githubusercontent.com/u/1850293?v=3","gravatar_id":"","url":"https://api.github.com/users/jleach4","html_url":"https://github.com/jleach4","followers_url":"https://api.github.com/users/jleach4/followers","following_url":"https://api.github.com/users/jleach4/following{/other_user}","gists_url":"https://api.github.com/users/jleach4/gists{/gist_id}","starred_url":"https://api.github.com/users/jleach4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jleach4/subscriptions","organizations_url":"https://api.github.com/users/jleach4/orgs","repos_url":"https://api.github.com/users/jleach4/repos","events_url":"https://api.github.com/users/jleach4/events{/privacy}","received_events_url":"https://api.github.com/users/jleach4/received_events","type":"User","site_admin":false},{"login":"jeffcunningham","id":4549951,"avatar_url":"https://avatars.githubusercontent.com/u/4549951?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffcunningham","html_url":"https://github.com/jeffcunningham","followers_url":"https://api.github.com/users/jeffcunningham/followers","following_url":"https://api.github.com/users/jeffcunningham/following{/other_user}","gists_url":"https://api.github.com/users/jeffcunningham/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffcunningham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffcunningham/subscriptions","organizations_url":"https://api.github.com/users/jeffcunningham/orgs","repos_url":"https://api.github.com/users/jeffcunningham/repos","events_url":"https://api.github.com/users/jeffcunningham/events{/privacy}","received_events_url":"https://api.github.com/users/jeffcunningham/received_events","type":"User","site_admin":false},{"login":"jfilali","id":5000030,"avatar_url":"https://avatars.githubusercontent.com/u/5000030?v=3","gravatar_id":"","url":"https://api.github.com/users/jfilali","html_url":"https://github.com/jfilali","followers_url":"https://api.github.com/users/jfilali/followers","following_url":"https://api.github.com/users/jfilali/following{/other_user}","gists_url":"https://api.github.com/users/jfilali/gists{/gist_id}","starred_url":"https://api.github.com/users/jfilali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfilali/subscriptions","organizations_url":"https://api.github.com/users/jfilali/orgs","repos_url":"https://api.github.com/users/jfilali/repos","events_url":"https://api.github.com/users/jfilali/events{/privacy}","received_events_url":"https://api.github.com/users/jfilali/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/splicemachine/spliceengine/pulls/38/commits","review_comments_url":"https://api.github.com/repos/splicemachine/spliceengine/pulls/38/comments","review_comment_url":"https://api.github.com/repos/splicemachine/spliceengine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/splicemachine/spliceengine/issues/38/comments","statuses_url":"https://api.github.com/repos/splicemachine/spliceengine/statuses/da3cc7ed2d0e8aaee795a4311a5ab61a0afea925","head":{"label":"splicemachine:SPLICE-128","ref":"SPLICE-128","sha":"da3cc7ed2d0e8aaee795a4311a5ab61a0afea925","user":{"login":"splicemachine","id":3579368,"avatar_url":"https://avatars.githubusercontent.com/u/3579368?v=3","gravatar_id":"","url":"https://api.github.com/users/splicemachine","html_url":"https://github.com/splicemachine","followers_url":"https://api.github.com/users/splicemachine/followers","following_url":"https://api.github.com/users/splicemachine/following{/other_user}","gists_url":"https://api.github.com/users/splicemachine/gists{/gist_id}","starred_url":"https://api.github.com/users/splicemachine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/splicemachine/subscriptions","organizations_url":"https://api.github.com/users/splicemachine/orgs","repos_url":"https://api.github.com/users/splicemachine/repos","events_url":"https://api.github.com/users/splicemachine/events{/privacy}","received_events_url":"https://api.github.com/users/splicemachine/received_events","type":"Organization","site_admin":false},"repo":{"id":8582237,"name":"spliceengine","full_name":"splicemachine/spliceengine","owner":{"login":"splicemachine","id":3579368,"avatar_url":"https://avatars.githubusercontent.com/u/3579368?v=3","gravatar_id":"","url":"https://api.github.com/users/splicemachine","html_url":"https://github.com/splicemachine","followers_url":"https://api.github.com/users/splicemachine/followers","following_url":"https://api.github.com/users/splicemachine/following{/other_user}","gists_url":"https://api.github.com/users/splicemachine/gists{/gist_id}","starred_url":"https://api.github.com/users/splicemachine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/splicemachine/subscriptions","organizations_url":"https://api.github.com/users/splicemachine/orgs","repos_url":"https://api.github.com/users/splicemachine/repos","events_url":"https://api.github.com/users/splicemachine/events{/privacy}","received_events_url":"https://api.github.com/users/splicemachine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/splicemachine/spliceengine","description":"The SpliceSQL Engine","fork":false,"url":"https://api.github.com/repos/splicemachine/spliceengine","forks_url":"https://api.github.com/repos/splicemachine/spliceengine/forks","keys_url":"https://api.github.com/repos/splicemachine/spliceengine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/splicemachine/spliceengine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/splicemachine/spliceengine/teams","hooks_url":"https://api.github.com/repos/splicemachine/spliceengine/hooks","issue_events_url":"https://api.github.com/repos/splicemachine/spliceengine/issues/events{/number}","events_url":"https://api.github.com/repos/splicemachine/spliceengine/events","assignees_url":"https://api.github.com/repos/splicemachine/spliceengine/assignees{/user}","branches_url":"https://api.github.com/repos/splicemachine/spliceengine/branches{/branch}","tags_url":"https://api.github.com/repos/splicemachine/spliceengine/tags","blobs_url":"https://api.github.com/repos/splicemachine/spliceengine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/splicemachine/spliceengine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/splicemachine/spliceengine/git/refs{/sha}","trees_url":"https://api.github.com/repos/splicemachine/spliceengine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/splicemachine/spliceengine/statuses/{sha}","languages_url":"https://api.github.com/repos/splicemachine/spliceengine/languages","stargazers_url":"https://api.github.com/repos/splicemachine/spliceengine/stargazers","contributors_url":"https://api.github.com/repos/splicemachine/spliceengine/contributors","subscribers_url":"https://api.github.com/repos/splicemachine/spliceengine/subscribers","subscription_url":"https://api.github.com/repos/splicemachine/spliceengine/subscription","commits_url":"https://api.github.com/repos/splicemachine/spliceengine/commits{/sha}","git_commits_url":"https://api.github.com/repos/splicemachine/spliceengine/git/commits{/sha}","comments_url":"https://api.github.com/repos/splicemachine/spliceengine/comments{/number}","issue_comment_url":"https://api.github.com/repos/splicemachine/spliceengine/issues/comments{/number}","contents_url":"https://api.github.com/repos/splicemachine/spliceengine/contents/{+path}","compare_url":"https://api.github.com/repos/splicemachine/spliceengine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/splicemachine/spliceengine/merges","archive_url":"https://api.github.com/repos/splicemachine/spliceengine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/splicemachine/spliceengine/downloads","issues_url":"https://api.github.com/repos/splicemachine/spliceengine/issues{/number}","pulls_url":"https://api.github.com/repos/splicemachine/spliceengine/pulls{/number}","milestones_url":"https://api.github.com/repos/splicemachine/spliceengine/milestones{/number}","notifications_url":"https://api.github.com/repos/splicemachine/spliceengine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/splicemachine/spliceengine/labels{/name}","releases_url":"https://api.github.com/repos/splicemachine/spliceengine/releases{/id}","deployments_url":"https://api.github.com/repos/splicemachine/spliceengine/deployments","created_at":"2013-03-05T15:07:56Z","updated_at":"2016-07-25T12:44:04Z","pushed_at":"2016-07-26T18:28:42Z","git_url":"git://github.com/splicemachine/spliceengine.git","ssh_url":"git@github.com:splicemachine/spliceengine.git","clone_url":"https://github.com/splicemachine/spliceengine.git","svn_url":"https://github.com/splicemachine/spliceengine","homepage":null,"size":205357,"stargazers_count":25,"watchers_count":25,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":5,"forks":7,"open_issues":5,"watchers":25,"default_branch":"master"}},"base":{"label":"splicemachine:master","ref":"master","sha":"1fc33930109bd740f1168544a4e13df4ec9ecb51","user":{"login":"splicemachine","id":3579368,"avatar_url":"https://avatars.githubusercontent.com/u/3579368?v=3","gravatar_id":"","url":"https://api.github.com/users/splicemachine","html_url":"https://github.com/splicemachine","followers_url":"https://api.github.com/users/splicemachine/followers","following_url":"https://api.github.com/users/splicemachine/following{/other_user}","gists_url":"https://api.github.com/users/splicemachine/gists{/gist_id}","starred_url":"https://api.github.com/users/splicemachine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/splicemachine/subscriptions","organizations_url":"https://api.github.com/users/splicemachine/orgs","repos_url":"https://api.github.com/users/splicemachine/repos","events_url":"https://api.github.com/users/splicemachine/events{/privacy}","received_events_url":"https://api.github.com/users/splicemachine/received_events","type":"Organization","site_admin":false},"repo":{"id":8582237,"name":"spliceengine","full_name":"splicemachine/spliceengine","owner":{"login":"splicemachine","id":3579368,"avatar_url":"https://avatars.githubusercontent.com/u/3579368?v=3","gravatar_id":"","url":"https://api.github.com/users/splicemachine","html_url":"https://github.com/splicemachine","followers_url":"https://api.github.com/users/splicemachine/followers","following_url":"https://api.github.com/users/splicemachine/following{/other_user}","gists_url":"https://api.github.com/users/splicemachine/gists{/gist_id}","starred_url":"https://api.github.com/users/splicemachine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/splicemachine/subscriptions","organizations_url":"https://api.github.com/users/splicemachine/orgs","repos_url":"https://api.github.com/users/splicemachine/repos","events_url":"https://api.github.com/users/splicemachine/events{/privacy}","received_events_url":"https://api.github.com/users/splicemachine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/splicemachine/spliceengine","description":"The SpliceSQL Engine","fork":false,"url":"https://api.github.com/repos/splicemachine/spliceengine","forks_url":"https://api.github.com/repos/splicemachine/spliceengine/forks","keys_url":"https://api.github.com/repos/splicemachine/spliceengine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/splicemachine/spliceengine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/splicemachine/spliceengine/teams","hooks_url":"https://api.github.com/repos/splicemachine/spliceengine/hooks","issue_events_url":"https://api.github.com/repos/splicemachine/spliceengine/issues/events{/number}","events_url":"https://api.github.com/repos/splicemachine/spliceengine/events","assignees_url":"https://api.github.com/repos/splicemachine/spliceengine/assignees{/user}","branches_url":"https://api.github.com/repos/splicemachine/spliceengine/branches{/branch}","tags_url":"https://api.github.com/repos/splicemachine/spliceengine/tags","blobs_url":"https://api.github.com/repos/splicemachine/spliceengine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/splicemachine/spliceengine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/splicemachine/spliceengine/git/refs{/sha}","trees_url":"https://api.github.com/repos/splicemachine/spliceengine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/splicemachine/spliceengine/statuses/{sha}","languages_url":"https://api.github.com/repos/splicemachine/spliceengine/languages","stargazers_url":"https://api.github.com/repos/splicemachine/spliceengine/stargazers","contributors_url":"https://api.github.com/repos/splicemachine/spliceengine/contributors","subscribers_url":"https://api.github.com/repos/splicemachine/spliceengine/subscribers","subscription_url":"https://api.github.com/repos/splicemachine/spliceengine/subscription","commits_url":"https://api.github.com/repos/splicemachine/spliceengine/commits{/sha}","git_commits_url":"https://api.github.com/repos/splicemachine/spliceengine/git/commits{/sha}","comments_url":"https://api.github.com/repos/splicemachine/spliceengine/comments{/number}","issue_comment_url":"https://api.github.com/repos/splicemachine/spliceengine/issues/comments{/number}","contents_url":"https://api.github.com/repos/splicemachine/spliceengine/contents/{+path}","compare_url":"https://api.github.com/repos/splicemachine/spliceengine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/splicemachine/spliceengine/merges","archive_url":"https://api.github.com/repos/splicemachine/spliceengine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/splicemachine/spliceengine/downloads","issues_url":"https://api.github.com/repos/splicemachine/spliceengine/issues{/number}","pulls_url":"https://api.github.com/repos/splicemachine/spliceengine/pulls{/number}","milestones_url":"https://api.github.com/repos/splicemachine/spliceengine/milestones{/number}","notifications_url":"https://api.github.com/repos/splicemachine/spliceengine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/splicemachine/spliceengine/labels{/name}","releases_url":"https://api.github.com/repos/splicemachine/spliceengine/releases{/id}","deployments_url":"https://api.github.com/repos/splicemachine/spliceengine/deployments","created_at":"2013-03-05T15:07:56Z","updated_at":"2016-07-25T12:44:04Z","pushed_at":"2016-07-26T18:28:42Z","git_url":"git://github.com/splicemachine/spliceengine.git","ssh_url":"git@github.com:splicemachine/spliceengine.git","clone_url":"https://github.com/splicemachine/spliceengine.git","svn_url":"https://github.com/splicemachine/spliceengine","homepage":null,"size":205357,"stargazers_count":25,"watchers_count":25,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":5,"forks":7,"open_issues":5,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/splicemachine/spliceengine/pulls/38"},"html":{"href":"https://github.com/splicemachine/spliceengine/pull/38"},"issue":{"href":"https://api.github.com/repos/splicemachine/spliceengine/issues/38"},"comments":{"href":"https://api.github.com/repos/splicemachine/spliceengine/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/splicemachine/spliceengine/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/splicemachine/spliceengine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/splicemachine/spliceengine/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/splicemachine/spliceengine/statuses/da3cc7ed2d0e8aaee795a4311a5ab61a0afea925"}}}}
{"actor":{"display_login":"jyuanca"}}