payload: {"action":"created","comment":{"url":"https://api.github.com/repos/hashicorp/vault/pulls/comments/307503642","pull_request_review_id":266888576,"id":307503642,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMwNzUwMzY0Mg==","diff_hunk":"@@ -176,3 +181,47 @@ func TestFSM_Chunking_TermChange(t *testing.T) {\n \t\t}\n \t}\n }\n+\n+func TestRaft_Chunking_AppliedIndex(t *testing.T) {\n+\tt.Parallel()\n+\n+\traft, dir := getRaft(t, true, false)\n+\tdefer os.RemoveAll(dir)\n+\n+\t// Lower the size for tests\n+\traftchunking.ChunkSize = 1024\n+\tval, err := uuid.GenerateRandomBytes(3 * raftchunking.ChunkSize)\n+\tif err != nil {\n+\t\tt.Fatal(err)\n+\t}\n+\n+\tcurrentIndex := raft.AppliedIndex()\n+\t// Write some data\n+\tfor i := 0; i < 10; i++ {\n+\t\terr := raft.Put(context.Background(), &physical.Entry{\n+\t\t\tKey:   fmt.Sprintf(\"key-%d\", i),\n+\t\t\tValue: val,","path":"physical/raft/chunking_test.go","position":43,"original_position":43,"commit_id":"591c77e77b2b6d6d76820d23dc7d18bf9b16faa6","original_commit_id":"591c77e77b2b6d6d76820d23dc7d18bf9b16faa6","user":{"login":"kalafut","id":211880,"node_id":"MDQ6VXNlcjIxMTg4MA==","avatar_url":"https://avatars1.githubusercontent.com/u/211880?v=4","gravatar_id":"","url":"https://api.github.com/users/kalafut","html_url":"https://github.com/kalafut","followers_url":"https://api.github.com/users/kalafut/followers","following_url":"https://api.github.com/users/kalafut/following{/other_user}","gists_url":"https://api.github.com/users/kalafut/gists{/gist_id}","starred_url":"https://api.github.com/users/kalafut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalafut/subscriptions","organizations_url":"https://api.github.com/users/kalafut/orgs","repos_url":"https://api.github.com/users/kalafut/repos","events_url":"https://api.github.com/users/kalafut/events{/privacy}","received_events_url":"https://api.github.com/users/kalafut/received_events","type":"User","site_admin":false},"body":"Consider incorporating (e.g. as a prefix) `i` to the stored value, and checking it below, to strengthen the test against entry data being associated with the wrong key.","created_at":"2019-07-25T21:12:59Z","updated_at":"2019-07-25T21:12:59Z","html_url":"https://github.com/hashicorp/vault/pull/7192#discussion_r307503642","pull_request_url":"https://api.github.com/repos/hashicorp/vault/pulls/7192","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/hashicorp/vault/pulls/comments/307503642"},"html":{"href":"https://github.com/hashicorp/vault/pull/7192#discussion_r307503642"},"pull_request":{"href":"https://api.github.com/repos/hashicorp/vault/pulls/7192"}}},"pull_request":{"url":"https://api.github.com/repos/hashicorp/vault/pulls/7192","id":301289862,"node_id":"MDExOlB1bGxSZXF1ZXN0MzAxMjg5ODYy","html_url":"https://github.com/hashicorp/vault/pull/7192","diff_url":"https://github.com/hashicorp/vault/pull/7192.diff","patch_url":"https://github.com/hashicorp/vault/pull/7192.patch","issue_url":"https://api.github.com/repos/hashicorp/vault/issues/7192","number":7192,"state":"open","locked":false,"title":"Add additional raft chunk test","user":{"login":"briankassouf","id":1916073,"node_id":"MDQ6VXNlcjE5MTYwNzM=","avatar_url":"https://avatars1.githubusercontent.com/u/1916073?v=4","gravatar_id":"","url":"https://api.github.com/users/briankassouf","html_url":"https://github.com/briankassouf","followers_url":"https://api.github.com/users/briankassouf/followers","following_url":"https://api.github.com/users/briankassouf/following{/other_user}","gists_url":"https://api.github.com/users/briankassouf/gists{/gist_id}","starred_url":"https://api.github.com/users/briankassouf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briankassouf/subscriptions","organizations_url":"https://api.github.com/users/briankassouf/orgs","repos_url":"https://api.github.com/users/briankassouf/repos","events_url":"https://api.github.com/users/briankassouf/events{/privacy}","received_events_url":"https://api.github.com/users/briankassouf/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-07-25T20:01:01Z","updated_at":"2019-07-25T21:12:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b7d46163d014956bb934dbcbfb5f1b9927687a44","assignee":null,"assignees":[],"requested_reviewers":[{"login":"jefferai","id":28627,"node_id":"MDQ6VXNlcjI4NjI3","avatar_url":"https://avatars0.githubusercontent.com/u/28627?v=4","gravatar_id":"","url":"https://api.github.com/users/jefferai","html_url":"https://github.com/jefferai","followers_url":"https://api.github.com/users/jefferai/followers","following_url":"https://api.github.com/users/jefferai/following{/other_user}","gists_url":"https://api.github.com/users/jefferai/gists{/gist_id}","starred_url":"https://api.github.com/users/jefferai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jefferai/subscriptions","organizations_url":"https://api.github.com/users/jefferai/orgs","repos_url":"https://api.github.com/users/jefferai/repos","events_url":"https://api.github.com/users/jefferai/events{/privacy}","received_events_url":"https://api.github.com/users/jefferai/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hashicorp/vault/pulls/7192/commits","review_comments_url":"https://api.github.com/repos/hashicorp/vault/pulls/7192/comments","review_comment_url":"https://api.github.com/repos/hashicorp/vault/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hashicorp/vault/issues/7192/comments","statuses_url":"https://api.github.com/repos/hashicorp/vault/statuses/591c77e77b2b6d6d76820d23dc7d18bf9b16faa6","head":{"label":"hashicorp:raft-chunk-tests","ref":"raft-chunk-tests","sha":"591c77e77b2b6d6d76820d23dc7d18bf9b16faa6","user":{"login":"hashicorp","id":761456,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2MTQ1Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/761456?v=4","gravatar_id":"","url":"https://api.github.com/users/hashicorp","html_url":"https://github.com/hashicorp","followers_url":"https://api.github.com/users/hashicorp/followers","following_url":"https://api.github.com/users/hashicorp/following{/other_user}","gists_url":"https://api.github.com/users/hashicorp/gists{/gist_id}","starred_url":"https://api.github.com/users/hashicorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashicorp/subscriptions","organizations_url":"https://api.github.com/users/hashicorp/orgs","repos_url":"https://api.github.com/users/hashicorp/repos","events_url":"https://api.github.com/users/hashicorp/events{/privacy}","received_events_url":"https://api.github.com/users/hashicorp/received_events","type":"Organization","site_admin":false},"repo":{"id":31288958,"node_id":"MDEwOlJlcG9zaXRvcnkzMTI4ODk1OA==","name":"vault","full_name":"hashicorp/vault","private":false,"owner":{"login":"hashicorp","id":761456,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2MTQ1Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/761456?v=4","gravatar_id":"","url":"https://api.github.com/users/hashicorp","html_url":"https://github.com/hashicorp","followers_url":"https://api.github.com/users/hashicorp/followers","following_url":"https://api.github.com/users/hashicorp/following{/other_user}","gists_url":"https://api.github.com/users/hashicorp/gists{/gist_id}","starred_url":"https://api.github.com/users/hashicorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashicorp/subscriptions","organizations_url":"https://api.github.com/users/hashicorp/orgs","repos_url":"https://api.github.com/users/hashicorp/repos","events_url":"https://api.github.com/users/hashicorp/events{/privacy}","received_events_url":"https://api.github.com/users/hashicorp/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/hashicorp/vault","description":"A tool for secrets management, encryption as a service, and privileged access management","fork":false,"url":"https://api.github.com/repos/hashicorp/vault","forks_url":"https://api.github.com/repos/hashicorp/vault/forks","keys_url":"https://api.github.com/repos/hashicorp/vault/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hashicorp/vault/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hashicorp/vault/teams","hooks_url":"https://api.github.com/repos/hashicorp/vault/hooks","issue_events_url":"https://api.github.com/repos/hashicorp/vault/issues/events{/number}","events_url":"https://api.github.com/repos/hashicorp/vault/events","assignees_url":"https://api.github.com/repos/hashicorp/vault/assignees{/user}","branches_url":"https://api.github.com/repos/hashicorp/vault/branches{/branch}","tags_url":"https://api.github.com/repos/hashicorp/vault/tags","blobs_url":"https://api.github.com/repos/hashicorp/vault/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hashicorp/vault/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hashicorp/vault/git/refs{/sha}","trees_url":"https://api.github.com/repos/hashicorp/vault/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hashicorp/vault/statuses/{sha}","languages_url":"https://api.github.com/repos/hashicorp/vault/languages","stargazers_url":"https://api.github.com/repos/hashicorp/vault/stargazers","contributors_url":"https://api.github.com/repos/hashicorp/vault/contributors","subscribers_url":"https://api.github.com/repos/hashicorp/vault/subscribers","subscription_url":"https://api.github.com/repos/hashicorp/vault/subscription","commits_url":"https://api.github.com/repos/hashicorp/vault/commits{/sha}","git_commits_url":"https://api.github.com/repos/hashicorp/vault/git/commits{/sha}","comments_url":"https://api.github.com/repos/hashicorp/vault/comments{/number}","issue_comment_url":"https://api.github.com/repos/hashicorp/vault/issues/comments{/number}","contents_url":"https://api.github.com/repos/hashicorp/vault/contents/{+path}","compare_url":"https://api.github.com/repos/hashicorp/vault/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hashicorp/vault/merges","archive_url":"https://api.github.com/repos/hashicorp/vault/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hashicorp/vault/downloads","issues_url":"https://api.github.com/repos/hashicorp/vault/issues{/number}","pulls_url":"https://api.github.com/repos/hashicorp/vault/pulls{/number}","milestones_url":"https://api.github.com/repos/hashicorp/vault/milestones{/number}","notifications_url":"https://api.github.com/repos/hashicorp/vault/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hashicorp/vault/labels{/name}","releases_url":"https://api.github.com/repos/hashicorp/vault/releases{/id}","deployments_url":"https://api.github.com/repos/hashicorp/vault/deployments","created_at":"2015-02-25T00:15:59Z","updated_at":"2019-07-25T19:06:57Z","pushed_at":"2019-07-25T20:55:00Z","git_url":"git://github.com/hashicorp/vault.git","ssh_url":"git@github.com:hashicorp/vault.git","clone_url":"https://github.com/hashicorp/vault.git","svn_url":"https://github.com/hashicorp/vault","homepage":"https://www.vaultproject.io/","size":86708,"stargazers_count":13405,"watchers_count":13405,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1998,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":503,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":1998,"open_issues":503,"watchers":13405,"default_branch":"master"}},"base":{"label":"hashicorp:master","ref":"master","sha":"1240e6af691fcab391a4be19aedbba97203a620a","user":{"login":"hashicorp","id":761456,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2MTQ1Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/761456?v=4","gravatar_id":"","url":"https://api.github.com/users/hashicorp","html_url":"https://github.com/hashicorp","followers_url":"https://api.github.com/users/hashicorp/followers","following_url":"https://api.github.com/users/hashicorp/following{/other_user}","gists_url":"https://api.github.com/users/hashicorp/gists{/gist_id}","starred_url":"https://api.github.com/users/hashicorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashicorp/subscriptions","organizations_url":"https://api.github.com/users/hashicorp/orgs","repos_url":"https://api.github.com/users/hashicorp/repos","events_url":"https://api.github.com/users/hashicorp/events{/privacy}","received_events_url":"https://api.github.com/users/hashicorp/received_events","type":"Organization","site_admin":false},"repo":{"id":31288958,"node_id":"MDEwOlJlcG9zaXRvcnkzMTI4ODk1OA==","name":"vault","full_name":"hashicorp/vault","private":false,"owner":{"login":"hashicorp","id":761456,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2MTQ1Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/761456?v=4","gravatar_id":"","url":"https://api.github.com/users/hashicorp","html_url":"https://github.com/hashicorp","followers_url":"https://api.github.com/users/hashicorp/followers","following_url":"https://api.github.com/users/hashicorp/following{/other_user}","gists_url":"https://api.github.com/users/hashicorp/gists{/gist_id}","starred_url":"https://api.github.com/users/hashicorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashicorp/subscriptions","organizations_url":"https://api.github.com/users/hashicorp/orgs","repos_url":"https://api.github.com/users/hashicorp/repos","events_url":"https://api.github.com/users/hashicorp/events{/privacy}","received_events_url":"https://api.github.com/users/hashicorp/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/hashicorp/vault","description":"A tool for secrets management, encryption as a service, and privileged access management","fork":false,"url":"https://api.github.com/repos/hashicorp/vault","forks_url":"https://api.github.com/repos/hashicorp/vault/forks","keys_url":"https://api.github.com/repos/hashicorp/vault/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hashicorp/vault/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hashicorp/vault/teams","hooks_url":"https://api.github.com/repos/hashicorp/vault/hooks","issue_events_url":"https://api.github.com/repos/hashicorp/vault/issues/events{/number}","events_url":"https://api.github.com/repos/hashicorp/vault/events","assignees_url":"https://api.github.com/repos/hashicorp/vault/assignees{/user}","branches_url":"https://api.github.com/repos/hashicorp/vault/branches{/branch}","tags_url":"https://api.github.com/repos/hashicorp/vault/tags","blobs_url":"https://api.github.com/repos/hashicorp/vault/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hashicorp/vault/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hashicorp/vault/git/refs{/sha}","trees_url":"https://api.github.com/repos/hashicorp/vault/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hashicorp/vault/statuses/{sha}","languages_url":"https://api.github.com/repos/hashicorp/vault/languages","stargazers_url":"https://api.github.com/repos/hashicorp/vault/stargazers","contributors_url":"https://api.github.com/repos/hashicorp/vault/contributors","subscribers_url":"https://api.github.com/repos/hashicorp/vault/subscribers","subscription_url":"https://api.github.com/repos/hashicorp/vault/subscription","commits_url":"https://api.github.com/repos/hashicorp/vault/commits{/sha}","git_commits_url":"https://api.github.com/repos/hashicorp/vault/git/commits{/sha}","comments_url":"https://api.github.com/repos/hashicorp/vault/comments{/number}","issue_comment_url":"https://api.github.com/repos/hashicorp/vault/issues/comments{/number}","contents_url":"https://api.github.com/repos/hashicorp/vault/contents/{+path}","compare_url":"https://api.github.com/repos/hashicorp/vault/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hashicorp/vault/merges","archive_url":"https://api.github.com/repos/hashicorp/vault/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hashicorp/vault/downloads","issues_url":"https://api.github.com/repos/hashicorp/vault/issues{/number}","pulls_url":"https://api.github.com/repos/hashicorp/vault/pulls{/number}","milestones_url":"https://api.github.com/repos/hashicorp/vault/milestones{/number}","notifications_url":"https://api.github.com/repos/hashicorp/vault/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hashicorp/vault/labels{/name}","releases_url":"https://api.github.com/repos/hashicorp/vault/releases{/id}","deployments_url":"https://api.github.com/repos/hashicorp/vault/deployments","created_at":"2015-02-25T00:15:59Z","updated_at":"2019-07-25T19:06:57Z","pushed_at":"2019-07-25T20:55:00Z","git_url":"git://github.com/hashicorp/vault.git","ssh_url":"git@github.com:hashicorp/vault.git","clone_url":"https://github.com/hashicorp/vault.git","svn_url":"https://github.com/hashicorp/vault","homepage":"https://www.vaultproject.io/","size":86708,"stargazers_count":13405,"watchers_count":13405,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1998,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":503,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":1998,"open_issues":503,"watchers":13405,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hashicorp/vault/pulls/7192"},"html":{"href":"https://github.com/hashicorp/vault/pull/7192"},"issue":{"href":"https://api.github.com/repos/hashicorp/vault/issues/7192"},"comments":{"href":"https://api.github.com/repos/hashicorp/vault/issues/7192/comments"},"review_comments":{"href":"https://api.github.com/repos/hashicorp/vault/pulls/7192/comments"},"review_comment":{"href":"https://api.github.com/repos/hashicorp/vault/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hashicorp/vault/pulls/7192/commits"},"statuses":{"href":"https://api.github.com/repos/hashicorp/vault/statuses/591c77e77b2b6d6d76820d23dc7d18bf9b16faa6"}},"author_association":"MEMBER"}}
other: {"actor":{"display_login":"kalafut"}}