{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/rocksdb/issues/1831","repository_url":"https://api.github.com/repos/facebook/rocksdb","labels_url":"https://api.github.com/repos/facebook/rocksdb/issues/1831/labels{/name}","comments_url":"https://api.github.com/repos/facebook/rocksdb/issues/1831/comments","events_url":"https://api.github.com/repos/facebook/rocksdb/issues/1831/events","html_url":"https://github.com/facebook/rocksdb/pull/1831","id":204866893,"number":1831,"title":"Fix for Issue:1780","user":{"login":"stevelittle","id":1642528,"avatar_url":"https://avatars.githubusercontent.com/u/1642528?v=3","gravatar_id":"","url":"https://api.github.com/users/stevelittle","html_url":"https://github.com/stevelittle","followers_url":"https://api.github.com/users/stevelittle/followers","following_url":"https://api.github.com/users/stevelittle/following{/other_user}","gists_url":"https://api.github.com/users/stevelittle/gists{/gist_id}","starred_url":"https://api.github.com/users/stevelittle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevelittle/subscriptions","organizations_url":"https://api.github.com/users/stevelittle/orgs","repos_url":"https://api.github.com/users/stevelittle/repos","events_url":"https://api.github.com/users/stevelittle/events{/privacy}","received_events_url":"https://api.github.com/users/stevelittle/received_events","type":"User","site_admin":false},"labels":[{"id":196859108,"url":"https://api.github.com/repos/facebook/rocksdb/labels/CLA%20Signed","name":"CLA Signed","color":"009900","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-02-02T13:02:56Z","updated_at":"2017-02-13T22:08:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebook/rocksdb/pulls/1831","html_url":"https://github.com/facebook/rocksdb/pull/1831","diff_url":"https://github.com/facebook/rocksdb/pull/1831.diff","patch_url":"https://github.com/facebook/rocksdb/pull/1831.patch"},"body":"https://github.com/facebook/rocksdb/issues/1780\r\n\r\nMove the check of lockedFiles to before we attempt to open the lock file\r\nThis way we avoid opening a file which might already be open.\r\nMore importantly, we avoid *closing* that file, which would release any\r\nfcntl locks that we have, enabling concurrent access from other processes\r\nand potential file corruption"},"comment":{"url":"https://api.github.com/repos/facebook/rocksdb/issues/comments/279538892","html_url":"https://github.com/facebook/rocksdb/pull/1831#issuecomment-279538892","issue_url":"https://api.github.com/repos/facebook/rocksdb/issues/1831","id":279538892,"user":{"login":"facebook-github-bot","id":6422482,"avatar_url":"https://avatars.githubusercontent.com/u/6422482?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook-github-bot","html_url":"https://github.com/facebook-github-bot","followers_url":"https://api.github.com/users/facebook-github-bot/followers","following_url":"https://api.github.com/users/facebook-github-bot/following{/other_user}","gists_url":"https://api.github.com/users/facebook-github-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook-github-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook-github-bot/subscriptions","organizations_url":"https://api.github.com/users/facebook-github-bot/orgs","repos_url":"https://api.github.com/users/facebook-github-bot/repos","events_url":"https://api.github.com/users/facebook-github-bot/events{/privacy}","received_events_url":"https://api.github.com/users/facebook-github-bot/received_events","type":"User","site_admin":false},"created_at":"2017-02-13T22:08:33Z","updated_at":"2017-02-13T22:08:33Z","body":"@IslamAbdelRahman has imported this pull request.  If you are a Facebook employee, you can view this diff [on Phabricator](https://phabricator.intern.facebook.com/D4554367)."}}
{"actor":{"display_login":"facebook-github-bot"}}