{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/osquery/issues/2228","repository_url":"https://api.github.com/repos/facebook/osquery","labels_url":"https://api.github.com/repos/facebook/osquery/issues/2228/labels{/name}","comments_url":"https://api.github.com/repos/facebook/osquery/issues/2228/comments","events_url":"https://api.github.com/repos/facebook/osquery/issues/2228/events","html_url":"https://github.com/facebook/osquery/pull/2228","id":164362823,"number":2228,"title":"Force RocksDB to sync writes for non-event domains","user":{"login":"theopolis","id":981645,"avatar_url":"https://avatars.githubusercontent.com/u/981645?v=3","gravatar_id":"","url":"https://api.github.com/users/theopolis","html_url":"https://github.com/theopolis","followers_url":"https://api.github.com/users/theopolis/followers","following_url":"https://api.github.com/users/theopolis/following{/other_user}","gists_url":"https://api.github.com/users/theopolis/gists{/gist_id}","starred_url":"https://api.github.com/users/theopolis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theopolis/subscriptions","organizations_url":"https://api.github.com/users/theopolis/orgs","repos_url":"https://api.github.com/users/theopolis/repos","events_url":"https://api.github.com/users/theopolis/events{/privacy}","received_events_url":"https://api.github.com/users/theopolis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/osquery/labels/CLA%20Signed","name":"CLA Signed","color":"009900"},{"url":"https://api.github.com/repos/facebook/osquery/labels/database","name":"database","color":"1d76db"},{"url":"https://api.github.com/repos/facebook/osquery/labels/test%20error","name":"test error","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-07T17:21:53Z","updated_at":"2016-07-07T18:16:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebook/osquery/pulls/2228","html_url":"https://github.com/facebook/osquery/pull/2228","diff_url":"https://github.com/facebook/osquery/pull/2228.diff","patch_url":"https://github.com/facebook/osquery/pull/2228.patch"},"body":"RocksDB is the default \"database\" plugin. Writes are normally kept in an in-memory memtable. Writes that are not part of the event pubsub system can be forced to sync to disk."},"comment":{"url":"https://api.github.com/repos/facebook/osquery/issues/comments/231162739","html_url":"https://github.com/facebook/osquery/pull/2228#issuecomment-231162739","issue_url":"https://api.github.com/repos/facebook/osquery/issues/2228","id":231162739,"user":{"login":"fuzzball5000","id":5080007,"avatar_url":"https://avatars.githubusercontent.com/u/5080007?v=3","gravatar_id":"","url":"https://api.github.com/users/fuzzball5000","html_url":"https://github.com/fuzzball5000","followers_url":"https://api.github.com/users/fuzzball5000/followers","following_url":"https://api.github.com/users/fuzzball5000/following{/other_user}","gists_url":"https://api.github.com/users/fuzzball5000/gists{/gist_id}","starred_url":"https://api.github.com/users/fuzzball5000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fuzzball5000/subscriptions","organizations_url":"https://api.github.com/users/fuzzball5000/orgs","repos_url":"https://api.github.com/users/fuzzball5000/repos","events_url":"https://api.github.com/users/fuzzball5000/events{/privacy}","received_events_url":"https://api.github.com/users/fuzzball5000/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T18:16:14Z","updated_at":"2016-07-07T18:16:14Z","body":"\"The sync flag can be turned on for a particular write\" So... creating a frequent \"heartbeat\" write which we could force sync and would therefore throw an error on failure may work, rather than requiring sync for the actual data writes. All this would give us though is an early indication the underlying filesystem component had failed, and wouldn't give us any advantages as regards data integrity in such an event. "}}
{"actor":{"display_login":"fuzzball5000"}}