payload: {"action":"created","issue":{"url":"https://api.github.com/repos/yahoo/HaloDB/issues/40","repository_url":"https://api.github.com/repos/yahoo/HaloDB","labels_url":"https://api.github.com/repos/yahoo/HaloDB/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/yahoo/HaloDB/issues/40/comments","events_url":"https://api.github.com/repos/yahoo/HaloDB/issues/40/events","html_url":"https://github.com/yahoo/HaloDB/pull/40","id":504890605,"node_id":"MDExOlB1bGxSZXF1ZXN0MzI2NDQ0ODQx","number":40,"title":"Make pauseCompaction act as sync call by waiting for compaction thread stopped","user":{"login":"wangtao724","id":7686630,"node_id":"MDQ6VXNlcjc2ODY2MzA=","avatar_url":"https://avatars0.githubusercontent.com/u/7686630?v=4","gravatar_id":"","url":"https://api.github.com/users/wangtao724","html_url":"https://github.com/wangtao724","followers_url":"https://api.github.com/users/wangtao724/followers","following_url":"https://api.github.com/users/wangtao724/following{/other_user}","gists_url":"https://api.github.com/users/wangtao724/gists{/gist_id}","starred_url":"https://api.github.com/users/wangtao724/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangtao724/subscriptions","organizations_url":"https://api.github.com/users/wangtao724/orgs","repos_url":"https://api.github.com/users/wangtao724/repos","events_url":"https://api.github.com/users/wangtao724/events{/privacy}","received_events_url":"https://api.github.com/users/wangtao724/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-10-09T20:56:31Z","updated_at":"2019-10-09T22:38:17Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/yahoo/HaloDB/pulls/40","html_url":"https://github.com/yahoo/HaloDB/pull/40","diff_url":"https://github.com/yahoo/HaloDB/pull/40.diff","patch_url":"https://github.com/yahoo/HaloDB/pull/40.patch"},"body":"@bellofreedom \r\n\r\nThis change is to make ```pauseCompaction``` blocking until compaction thread exit. Please help review.\r\n\r\nIt is supposed the thread will exit after finish compaction to current file, so didn't add a timeout. \r\n"},"comment":{"url":"https://api.github.com/repos/yahoo/HaloDB/issues/comments/540235094","html_url":"https://github.com/yahoo/HaloDB/pull/40#issuecomment-540235094","issue_url":"https://api.github.com/repos/yahoo/HaloDB/issues/40","id":540235094,"node_id":"MDEyOklzc3VlQ29tbWVudDU0MDIzNTA5NA==","user":{"login":"bellofreedom","id":1223110,"node_id":"MDQ6VXNlcjEyMjMxMTA=","avatar_url":"https://avatars2.githubusercontent.com/u/1223110?v=4","gravatar_id":"","url":"https://api.github.com/users/bellofreedom","html_url":"https://github.com/bellofreedom","followers_url":"https://api.github.com/users/bellofreedom/followers","following_url":"https://api.github.com/users/bellofreedom/following{/other_user}","gists_url":"https://api.github.com/users/bellofreedom/gists{/gist_id}","starred_url":"https://api.github.com/users/bellofreedom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bellofreedom/subscriptions","organizations_url":"https://api.github.com/users/bellofreedom/orgs","repos_url":"https://api.github.com/users/bellofreedom/repos","events_url":"https://api.github.com/users/bellofreedom/events{/privacy}","received_events_url":"https://api.github.com/users/bellofreedom/received_events","type":"User","site_admin":false},"created_at":"2019-10-09T22:38:17Z","updated_at":"2019-10-09T22:38:17Z","author_association":"CONTRIBUTOR","body":"I think current solution is to add some doc/comments to let the user know they need check the if compaction job was really stopped.  In long term, we could design a new mechanism with quick switch if there're active compacted files."}}
other: {"actor":{"display_login":"bellofreedom"}}