{"action":"created","comment":{"url":"https://api.github.com/repos/openvstorage/arakoon/pulls/comments/52149169","id":52149169,"diff_hunk":"@@ -83,12 +83,19 @@ class remote_nodestream ((ic,oc) as conn) =\n             end\n         end\n       in\n+      let _should_reinit = ref false in\n       let rec loop_parts () =\n         Llio.input_int ic >>= function\n         | (-2) -> Logger.info_f_ \"loop_parts done\"\n         | 1 ->\n           begin\n             Logger.debug_f_ \"loop_entries\" >>= fun () ->\n+            begin\n+              if !_should_reinit\n+              then tlog_coll # reinit()","path":"src/client/remote_nodestream.ml","position":13,"original_position":13,"commit_id":"0e5454c9bb0cec273a0b70243cca08d292a051d0","original_commit_id":"0e5454c9bb0cec273a0b70243cca08d292a051d0","user":{"login":"domsj","id":89326,"avatar_url":"https://avatars.githubusercontent.com/u/89326?v=3","gravatar_id":"","url":"https://api.github.com/users/domsj","html_url":"https://github.com/domsj","followers_url":"https://api.github.com/users/domsj/followers","following_url":"https://api.github.com/users/domsj/following{/other_user}","gists_url":"https://api.github.com/users/domsj/gists{/gist_id}","starred_url":"https://api.github.com/users/domsj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domsj/subscriptions","organizations_url":"https://api.github.com/users/domsj/orgs","repos_url":"https://api.github.com/users/domsj/repos","events_url":"https://api.github.com/users/domsj/events{/privacy}","received_events_url":"https://api.github.com/users/domsj/received_events","type":"User","site_admin":false},"body":"Why is this needed? Looks like it should be a concern of the tlogcollection itself?","created_at":"2016-02-08T09:55:57Z","updated_at":"2016-02-08T09:55:57Z","html_url":"https://github.com/openvstorage/arakoon/pull/41#discussion_r52149169","pull_request_url":"https://api.github.com/repos/openvstorage/arakoon/pulls/41","_links":{"self":{"href":"https://api.github.com/repos/openvstorage/arakoon/pulls/comments/52149169"},"html":{"href":"https://github.com/openvstorage/arakoon/pull/41#discussion_r52149169"},"pull_request":{"href":"https://api.github.com/repos/openvstorage/arakoon/pulls/41"}}},"pull_request":{"url":"https://api.github.com/repos/openvstorage/arakoon/pulls/41","id":58580097,"html_url":"https://github.com/openvstorage/arakoon/pull/41","diff_url":"https://github.com/openvstorage/arakoon/pull/41.diff","patch_url":"https://github.com/openvstorage/arakoon/pull/41.patch","issue_url":"https://api.github.com/repos/openvstorage/arakoon/issues/41","number":41,"state":"open","locked":false,"title":"Flexible tlogs","user":{"login":"toolslive","id":1249832,"avatar_url":"https://avatars.githubusercontent.com/u/1249832?v=3","gravatar_id":"","url":"https://api.github.com/users/toolslive","html_url":"https://github.com/toolslive","followers_url":"https://api.github.com/users/toolslive/followers","following_url":"https://api.github.com/users/toolslive/following{/other_user}","gists_url":"https://api.github.com/users/toolslive/gists{/gist_id}","starred_url":"https://api.github.com/users/toolslive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toolslive/subscriptions","organizations_url":"https://api.github.com/users/toolslive/orgs","repos_url":"https://api.github.com/users/toolslive/repos","events_url":"https://api.github.com/users/toolslive/events{/privacy}","received_events_url":"https://api.github.com/users/toolslive/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-08T08:12:56Z","updated_at":"2016-02-08T09:55:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"74fbcccc2f2bbac5f5a839867f2b6400da4acf36","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openvstorage/arakoon/pulls/41/commits","review_comments_url":"https://api.github.com/repos/openvstorage/arakoon/pulls/41/comments","review_comment_url":"https://api.github.com/repos/openvstorage/arakoon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openvstorage/arakoon/issues/41/comments","statuses_url":"https://api.github.com/repos/openvstorage/arakoon/statuses/0e5454c9bb0cec273a0b70243cca08d292a051d0","head":{"label":"openvstorage:flexible_tlogs","ref":"flexible_tlogs","sha":"0e5454c9bb0cec273a0b70243cca08d292a051d0","user":{"login":"openvstorage","id":12763393,"avatar_url":"https://avatars.githubusercontent.com/u/12763393?v=3","gravatar_id":"","url":"https://api.github.com/users/openvstorage","html_url":"https://github.com/openvstorage","followers_url":"https://api.github.com/users/openvstorage/followers","following_url":"https://api.github.com/users/openvstorage/following{/other_user}","gists_url":"https://api.github.com/users/openvstorage/gists{/gist_id}","starred_url":"https://api.github.com/users/openvstorage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openvstorage/subscriptions","organizations_url":"https://api.github.com/users/openvstorage/orgs","repos_url":"https://api.github.com/users/openvstorage/repos","events_url":"https://api.github.com/users/openvstorage/events{/privacy}","received_events_url":"https://api.github.com/users/openvstorage/received_events","type":"Organization","site_admin":false},"repo":{"id":38868798,"name":"arakoon","full_name":"openvstorage/arakoon","owner":{"login":"openvstorage","id":12763393,"avatar_url":"https://avatars.githubusercontent.com/u/12763393?v=3","gravatar_id":"","url":"https://api.github.com/users/openvstorage","html_url":"https://github.com/openvstorage","followers_url":"https://api.github.com/users/openvstorage/followers","following_url":"https://api.github.com/users/openvstorage/following{/other_user}","gists_url":"https://api.github.com/users/openvstorage/gists{/gist_id}","starred_url":"https://api.github.com/users/openvstorage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openvstorage/subscriptions","organizations_url":"https://api.github.com/users/openvstorage/orgs","repos_url":"https://api.github.com/users/openvstorage/repos","events_url":"https://api.github.com/users/openvstorage/events{/privacy}","received_events_url":"https://api.github.com/users/openvstorage/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openvstorage/arakoon","description":"The consistent distributed key-value store in Open vStorage","fork":true,"url":"https://api.github.com/repos/openvstorage/arakoon","forks_url":"https://api.github.com/repos/openvstorage/arakoon/forks","keys_url":"https://api.github.com/repos/openvstorage/arakoon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openvstorage/arakoon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openvstorage/arakoon/teams","hooks_url":"https://api.github.com/repos/openvstorage/arakoon/hooks","issue_events_url":"https://api.github.com/repos/openvstorage/arakoon/issues/events{/number}","events_url":"https://api.github.com/repos/openvstorage/arakoon/events","assignees_url":"https://api.github.com/repos/openvstorage/arakoon/assignees{/user}","branches_url":"https://api.github.com/repos/openvstorage/arakoon/branches{/branch}","tags_url":"https://api.github.com/repos/openvstorage/arakoon/tags","blobs_url":"https://api.github.com/repos/openvstorage/arakoon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openvstorage/arakoon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openvstorage/arakoon/git/refs{/sha}","trees_url":"https://api.github.com/repos/openvstorage/arakoon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openvstorage/arakoon/statuses/{sha}","languages_url":"https://api.github.com/repos/openvstorage/arakoon/languages","stargazers_url":"https://api.github.com/repos/openvstorage/arakoon/stargazers","contributors_url":"https://api.github.com/repos/openvstorage/arakoon/contributors","subscribers_url":"https://api.github.com/repos/openvstorage/arakoon/subscribers","subscription_url":"https://api.github.com/repos/openvstorage/arakoon/subscription","commits_url":"https://api.github.com/repos/openvstorage/arakoon/commits{/sha}","git_commits_url":"https://api.github.com/repos/openvstorage/arakoon/git/commits{/sha}","comments_url":"https://api.github.com/repos/openvstorage/arakoon/comments{/number}","issue_comment_url":"https://api.github.com/repos/openvstorage/arakoon/issues/comments{/number}","contents_url":"https://api.github.com/repos/openvstorage/arakoon/contents/{+path}","compare_url":"https://api.github.com/repos/openvstorage/arakoon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openvstorage/arakoon/merges","archive_url":"https://api.github.com/repos/openvstorage/arakoon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openvstorage/arakoon/downloads","issues_url":"https://api.github.com/repos/openvstorage/arakoon/issues{/number}","pulls_url":"https://api.github.com/repos/openvstorage/arakoon/pulls{/number}","milestones_url":"https://api.github.com/repos/openvstorage/arakoon/milestones{/number}","notifications_url":"https://api.github.com/repos/openvstorage/arakoon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openvstorage/arakoon/labels{/name}","releases_url":"https://api.github.com/repos/openvstorage/arakoon/releases{/id}","deployments_url":"https://api.github.com/repos/openvstorage/arakoon/deployments","created_at":"2015-07-10T08:04:01Z","updated_at":"2016-01-22T14:17:44Z","pushed_at":"2016-02-08T08:12:57Z","git_url":"git://github.com/openvstorage/arakoon.git","ssh_url":"git@github.com:openvstorage/arakoon.git","clone_url":"https://github.com/openvstorage/arakoon.git","svn_url":"https://github.com/openvstorage/arakoon","homepage":"","size":23065,"stargazers_count":6,"watchers_count":6,"language":"OCaml","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":6,"default_branch":"1.8"}},"base":{"label":"openvstorage:1.8","ref":"1.8","sha":"f5399a1047ea5da570cc4b504916517b0f837355","user":{"login":"openvstorage","id":12763393,"avatar_url":"https://avatars.githubusercontent.com/u/12763393?v=3","gravatar_id":"","url":"https://api.github.com/users/openvstorage","html_url":"https://github.com/openvstorage","followers_url":"https://api.github.com/users/openvstorage/followers","following_url":"https://api.github.com/users/openvstorage/following{/other_user}","gists_url":"https://api.github.com/users/openvstorage/gists{/gist_id}","starred_url":"https://api.github.com/users/openvstorage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openvstorage/subscriptions","organizations_url":"https://api.github.com/users/openvstorage/orgs","repos_url":"https://api.github.com/users/openvstorage/repos","events_url":"https://api.github.com/users/openvstorage/events{/privacy}","received_events_url":"https://api.github.com/users/openvstorage/received_events","type":"Organization","site_admin":false},"repo":{"id":38868798,"name":"arakoon","full_name":"openvstorage/arakoon","owner":{"login":"openvstorage","id":12763393,"avatar_url":"https://avatars.githubusercontent.com/u/12763393?v=3","gravatar_id":"","url":"https://api.github.com/users/openvstorage","html_url":"https://github.com/openvstorage","followers_url":"https://api.github.com/users/openvstorage/followers","following_url":"https://api.github.com/users/openvstorage/following{/other_user}","gists_url":"https://api.github.com/users/openvstorage/gists{/gist_id}","starred_url":"https://api.github.com/users/openvstorage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openvstorage/subscriptions","organizations_url":"https://api.github.com/users/openvstorage/orgs","repos_url":"https://api.github.com/users/openvstorage/repos","events_url":"https://api.github.com/users/openvstorage/events{/privacy}","received_events_url":"https://api.github.com/users/openvstorage/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openvstorage/arakoon","description":"The consistent distributed key-value store in Open vStorage","fork":true,"url":"https://api.github.com/repos/openvstorage/arakoon","forks_url":"https://api.github.com/repos/openvstorage/arakoon/forks","keys_url":"https://api.github.com/repos/openvstorage/arakoon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openvstorage/arakoon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openvstorage/arakoon/teams","hooks_url":"https://api.github.com/repos/openvstorage/arakoon/hooks","issue_events_url":"https://api.github.com/repos/openvstorage/arakoon/issues/events{/number}","events_url":"https://api.github.com/repos/openvstorage/arakoon/events","assignees_url":"https://api.github.com/repos/openvstorage/arakoon/assignees{/user}","branches_url":"https://api.github.com/repos/openvstorage/arakoon/branches{/branch}","tags_url":"https://api.github.com/repos/openvstorage/arakoon/tags","blobs_url":"https://api.github.com/repos/openvstorage/arakoon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openvstorage/arakoon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openvstorage/arakoon/git/refs{/sha}","trees_url":"https://api.github.com/repos/openvstorage/arakoon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openvstorage/arakoon/statuses/{sha}","languages_url":"https://api.github.com/repos/openvstorage/arakoon/languages","stargazers_url":"https://api.github.com/repos/openvstorage/arakoon/stargazers","contributors_url":"https://api.github.com/repos/openvstorage/arakoon/contributors","subscribers_url":"https://api.github.com/repos/openvstorage/arakoon/subscribers","subscription_url":"https://api.github.com/repos/openvstorage/arakoon/subscription","commits_url":"https://api.github.com/repos/openvstorage/arakoon/commits{/sha}","git_commits_url":"https://api.github.com/repos/openvstorage/arakoon/git/commits{/sha}","comments_url":"https://api.github.com/repos/openvstorage/arakoon/comments{/number}","issue_comment_url":"https://api.github.com/repos/openvstorage/arakoon/issues/comments{/number}","contents_url":"https://api.github.com/repos/openvstorage/arakoon/contents/{+path}","compare_url":"https://api.github.com/repos/openvstorage/arakoon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openvstorage/arakoon/merges","archive_url":"https://api.github.com/repos/openvstorage/arakoon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openvstorage/arakoon/downloads","issues_url":"https://api.github.com/repos/openvstorage/arakoon/issues{/number}","pulls_url":"https://api.github.com/repos/openvstorage/arakoon/pulls{/number}","milestones_url":"https://api.github.com/repos/openvstorage/arakoon/milestones{/number}","notifications_url":"https://api.github.com/repos/openvstorage/arakoon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openvstorage/arakoon/labels{/name}","releases_url":"https://api.github.com/repos/openvstorage/arakoon/releases{/id}","deployments_url":"https://api.github.com/repos/openvstorage/arakoon/deployments","created_at":"2015-07-10T08:04:01Z","updated_at":"2016-01-22T14:17:44Z","pushed_at":"2016-02-08T08:12:57Z","git_url":"git://github.com/openvstorage/arakoon.git","ssh_url":"git@github.com:openvstorage/arakoon.git","clone_url":"https://github.com/openvstorage/arakoon.git","svn_url":"https://github.com/openvstorage/arakoon","homepage":"","size":23065,"stargazers_count":6,"watchers_count":6,"language":"OCaml","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":6,"default_branch":"1.8"}},"_links":{"self":{"href":"https://api.github.com/repos/openvstorage/arakoon/pulls/41"},"html":{"href":"https://github.com/openvstorage/arakoon/pull/41"},"issue":{"href":"https://api.github.com/repos/openvstorage/arakoon/issues/41"},"comments":{"href":"https://api.github.com/repos/openvstorage/arakoon/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/openvstorage/arakoon/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/openvstorage/arakoon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openvstorage/arakoon/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/openvstorage/arakoon/statuses/0e5454c9bb0cec273a0b70243cca08d292a051d0"}}}}