{"action":"closed","number":371,"pull_request":{"url":"https://api.github.com/repos/OpenTSDB/opentsdb/pulls/371","id":18475704,"html_url":"https://github.com/OpenTSDB/opentsdb/pull/371","diff_url":"https://github.com/OpenTSDB/opentsdb/pull/371.diff","patch_url":"https://github.com/OpenTSDB/opentsdb/pull/371.patch","issue_url":"https://api.github.com/repos/OpenTSDB/opentsdb/issues/371","number":371,"state":"closed","locked":false,"title":"Allow synchronous writes from the HTTP endpoint","user":{"login":"waisbrot","id":1170218,"avatar_url":"https://avatars.githubusercontent.com/u/1170218?v=3","gravatar_id":"","url":"https://api.github.com/users/waisbrot","html_url":"https://github.com/waisbrot","followers_url":"https://api.github.com/users/waisbrot/followers","following_url":"https://api.github.com/users/waisbrot/following{/other_user}","gists_url":"https://api.github.com/users/waisbrot/gists{/gist_id}","starred_url":"https://api.github.com/users/waisbrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waisbrot/subscriptions","organizations_url":"https://api.github.com/users/waisbrot/orgs","repos_url":"https://api.github.com/users/waisbrot/repos","events_url":"https://api.github.com/users/waisbrot/events{/privacy}","received_events_url":"https://api.github.com/users/waisbrot/received_events","type":"User","site_admin":false},"body":"If the query-string specifies the flag \"sync\", then wait until all writes have actually occurred before returning.\r\n\r\nBased on [this mailing list discussion](https://groups.google.com/d/msg/opentsdb/1gcuDmbaLhE/VL69lq9GTWIJ).\r\n\r\nIf anyone would like to suggest some pointers for writing tests to go along with this, I'd be happy to update.\r\n\r\nI've tested this change against my own client where I was seeing the problem, and this appears to fix it.","created_at":"2014-07-16T15:36:54Z","updated_at":"2015-09-09T21:21:08Z","closed_at":"2015-09-09T21:21:08Z","merged_at":null,"merge_commit_sha":"8161ec81ebdfb67823bbbd7f3f26a785d85a9459","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OpenTSDB/opentsdb/pulls/371/commits","review_comments_url":"https://api.github.com/repos/OpenTSDB/opentsdb/pulls/371/comments","review_comment_url":"https://api.github.com/repos/OpenTSDB/opentsdb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenTSDB/opentsdb/issues/371/comments","statuses_url":"https://api.github.com/repos/OpenTSDB/opentsdb/statuses/42da820f014c2153a052893119eed62ff24b754d","head":{"label":"waisbrot:synchronous-writes","ref":"synchronous-writes","sha":"42da820f014c2153a052893119eed62ff24b754d","user":{"login":"waisbrot","id":1170218,"avatar_url":"https://avatars.githubusercontent.com/u/1170218?v=3","gravatar_id":"","url":"https://api.github.com/users/waisbrot","html_url":"https://github.com/waisbrot","followers_url":"https://api.github.com/users/waisbrot/followers","following_url":"https://api.github.com/users/waisbrot/following{/other_user}","gists_url":"https://api.github.com/users/waisbrot/gists{/gist_id}","starred_url":"https://api.github.com/users/waisbrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waisbrot/subscriptions","organizations_url":"https://api.github.com/users/waisbrot/orgs","repos_url":"https://api.github.com/users/waisbrot/repos","events_url":"https://api.github.com/users/waisbrot/events{/privacy}","received_events_url":"https://api.github.com/users/waisbrot/received_events","type":"User","site_admin":false},"repo":{"id":21906174,"name":"opentsdb","full_name":"waisbrot/opentsdb","owner":{"login":"waisbrot","id":1170218,"avatar_url":"https://avatars.githubusercontent.com/u/1170218?v=3","gravatar_id":"","url":"https://api.github.com/users/waisbrot","html_url":"https://github.com/waisbrot","followers_url":"https://api.github.com/users/waisbrot/followers","following_url":"https://api.github.com/users/waisbrot/following{/other_user}","gists_url":"https://api.github.com/users/waisbrot/gists{/gist_id}","starred_url":"https://api.github.com/users/waisbrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waisbrot/subscriptions","organizations_url":"https://api.github.com/users/waisbrot/orgs","repos_url":"https://api.github.com/users/waisbrot/repos","events_url":"https://api.github.com/users/waisbrot/events{/privacy}","received_events_url":"https://api.github.com/users/waisbrot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/waisbrot/opentsdb","description":"A scalable, distributed Time Series Database.","fork":true,"url":"https://api.github.com/repos/waisbrot/opentsdb","forks_url":"https://api.github.com/repos/waisbrot/opentsdb/forks","keys_url":"https://api.github.com/repos/waisbrot/opentsdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/waisbrot/opentsdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/waisbrot/opentsdb/teams","hooks_url":"https://api.github.com/repos/waisbrot/opentsdb/hooks","issue_events_url":"https://api.github.com/repos/waisbrot/opentsdb/issues/events{/number}","events_url":"https://api.github.com/repos/waisbrot/opentsdb/events","assignees_url":"https://api.github.com/repos/waisbrot/opentsdb/assignees{/user}","branches_url":"https://api.github.com/repos/waisbrot/opentsdb/branches{/branch}","tags_url":"https://api.github.com/repos/waisbrot/opentsdb/tags","blobs_url":"https://api.github.com/repos/waisbrot/opentsdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/waisbrot/opentsdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/waisbrot/opentsdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/waisbrot/opentsdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/waisbrot/opentsdb/statuses/{sha}","languages_url":"https://api.github.com/repos/waisbrot/opentsdb/languages","stargazers_url":"https://api.github.com/repos/waisbrot/opentsdb/stargazers","contributors_url":"https://api.github.com/repos/waisbrot/opentsdb/contributors","subscribers_url":"https://api.github.com/repos/waisbrot/opentsdb/subscribers","subscription_url":"https://api.github.com/repos/waisbrot/opentsdb/subscription","commits_url":"https://api.github.com/repos/waisbrot/opentsdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/waisbrot/opentsdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/waisbrot/opentsdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/waisbrot/opentsdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/waisbrot/opentsdb/contents/{+path}","compare_url":"https://api.github.com/repos/waisbrot/opentsdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/waisbrot/opentsdb/merges","archive_url":"https://api.github.com/repos/waisbrot/opentsdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/waisbrot/opentsdb/downloads","issues_url":"https://api.github.com/repos/waisbrot/opentsdb/issues{/number}","pulls_url":"https://api.github.com/repos/waisbrot/opentsdb/pulls{/number}","milestones_url":"https://api.github.com/repos/waisbrot/opentsdb/milestones{/number}","notifications_url":"https://api.github.com/repos/waisbrot/opentsdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/waisbrot/opentsdb/labels{/name}","releases_url":"https://api.github.com/repos/waisbrot/opentsdb/releases{/id}","created_at":"2014-07-16T15:21:12Z","updated_at":"2014-07-16T14:14:34Z","pushed_at":"2014-07-16T15:31:06Z","git_url":"git://github.com/waisbrot/opentsdb.git","ssh_url":"git@github.com:waisbrot/opentsdb.git","clone_url":"https://github.com/waisbrot/opentsdb.git","svn_url":"https://github.com/waisbrot/opentsdb","homepage":"http://opentsdb.net","size":27761,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OpenTSDB:master","ref":"master","sha":"7a893b165f5aba66a2040deb8ec34d3c9eca7a32","user":{"login":"OpenTSDB","id":2086220,"avatar_url":"https://avatars.githubusercontent.com/u/2086220?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenTSDB","html_url":"https://github.com/OpenTSDB","followers_url":"https://api.github.com/users/OpenTSDB/followers","following_url":"https://api.github.com/users/OpenTSDB/following{/other_user}","gists_url":"https://api.github.com/users/OpenTSDB/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenTSDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenTSDB/subscriptions","organizations_url":"https://api.github.com/users/OpenTSDB/orgs","repos_url":"https://api.github.com/users/OpenTSDB/repos","events_url":"https://api.github.com/users/OpenTSDB/events{/privacy}","received_events_url":"https://api.github.com/users/OpenTSDB/received_events","type":"Organization","site_admin":false},"repo":{"id":865412,"name":"opentsdb","full_name":"OpenTSDB/opentsdb","owner":{"login":"OpenTSDB","id":2086220,"avatar_url":"https://avatars.githubusercontent.com/u/2086220?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenTSDB","html_url":"https://github.com/OpenTSDB","followers_url":"https://api.github.com/users/OpenTSDB/followers","following_url":"https://api.github.com/users/OpenTSDB/following{/other_user}","gists_url":"https://api.github.com/users/OpenTSDB/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenTSDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenTSDB/subscriptions","organizations_url":"https://api.github.com/users/OpenTSDB/orgs","repos_url":"https://api.github.com/users/OpenTSDB/repos","events_url":"https://api.github.com/users/OpenTSDB/events{/privacy}","received_events_url":"https://api.github.com/users/OpenTSDB/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenTSDB/opentsdb","description":"A scalable, distributed Time Series Database.","fork":false,"url":"https://api.github.com/repos/OpenTSDB/opentsdb","forks_url":"https://api.github.com/repos/OpenTSDB/opentsdb/forks","keys_url":"https://api.github.com/repos/OpenTSDB/opentsdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenTSDB/opentsdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenTSDB/opentsdb/teams","hooks_url":"https://api.github.com/repos/OpenTSDB/opentsdb/hooks","issue_events_url":"https://api.github.com/repos/OpenTSDB/opentsdb/issues/events{/number}","events_url":"https://api.github.com/repos/OpenTSDB/opentsdb/events","assignees_url":"https://api.github.com/repos/OpenTSDB/opentsdb/assignees{/user}","branches_url":"https://api.github.com/repos/OpenTSDB/opentsdb/branches{/branch}","tags_url":"https://api.github.com/repos/OpenTSDB/opentsdb/tags","blobs_url":"https://api.github.com/repos/OpenTSDB/opentsdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenTSDB/opentsdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenTSDB/opentsdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenTSDB/opentsdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenTSDB/opentsdb/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenTSDB/opentsdb/languages","stargazers_url":"https://api.github.com/repos/OpenTSDB/opentsdb/stargazers","contributors_url":"https://api.github.com/repos/OpenTSDB/opentsdb/contributors","subscribers_url":"https://api.github.com/repos/OpenTSDB/opentsdb/subscribers","subscription_url":"https://api.github.com/repos/OpenTSDB/opentsdb/subscription","commits_url":"https://api.github.com/repos/OpenTSDB/opentsdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenTSDB/opentsdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenTSDB/opentsdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenTSDB/opentsdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenTSDB/opentsdb/contents/{+path}","compare_url":"https://api.github.com/repos/OpenTSDB/opentsdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenTSDB/opentsdb/merges","archive_url":"https://api.github.com/repos/OpenTSDB/opentsdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenTSDB/opentsdb/downloads","issues_url":"https://api.github.com/repos/OpenTSDB/opentsdb/issues{/number}","pulls_url":"https://api.github.com/repos/OpenTSDB/opentsdb/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenTSDB/opentsdb/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenTSDB/opentsdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenTSDB/opentsdb/labels{/name}","releases_url":"https://api.github.com/repos/OpenTSDB/opentsdb/releases{/id}","created_at":"2010-08-27T02:05:20Z","updated_at":"2015-09-09T16:10:22Z","pushed_at":"2015-09-09T21:20:25Z","git_url":"git://github.com/OpenTSDB/opentsdb.git","ssh_url":"git@github.com:OpenTSDB/opentsdb.git","clone_url":"https://github.com/OpenTSDB/opentsdb.git","svn_url":"https://github.com/OpenTSDB/opentsdb","homepage":"http://opentsdb.net","size":36115,"stargazers_count":1449,"watchers_count":1449,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":534,"mirror_url":null,"open_issues_count":180,"forks":534,"open_issues":180,"watchers":1449,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenTSDB/opentsdb/pulls/371"},"html":{"href":"https://github.com/OpenTSDB/opentsdb/pull/371"},"issue":{"href":"https://api.github.com/repos/OpenTSDB/opentsdb/issues/371"},"comments":{"href":"https://api.github.com/repos/OpenTSDB/opentsdb/issues/371/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenTSDB/opentsdb/pulls/371/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenTSDB/opentsdb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenTSDB/opentsdb/pulls/371/commits"},"statuses":{"href":"https://api.github.com/repos/OpenTSDB/opentsdb/statuses/42da820f014c2153a052893119eed62ff24b754d"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":4,"review_comments":3,"commits":1,"additions":22,"deletions":4,"changed_files":1}}