{"action":"created","issue":{"url":"https://api.github.com/repos/boltdb/bolt/issues/695","repository_url":"https://api.github.com/repos/boltdb/bolt","labels_url":"https://api.github.com/repos/boltdb/bolt/issues/695/labels{/name}","comments_url":"https://api.github.com/repos/boltdb/bolt/issues/695/comments","events_url":"https://api.github.com/repos/boltdb/bolt/issues/695/events","html_url":"https://github.com/boltdb/bolt/pull/695","id":234680455,"number":695,"title":"add option to skip freelist sync","user":{"login":"xiang90","id":4479947,"avatar_url":"https://avatars3.githubusercontent.com/u/4479947?v=3","gravatar_id":"","url":"https://api.github.com/users/xiang90","html_url":"https://github.com/xiang90","followers_url":"https://api.github.com/users/xiang90/followers","following_url":"https://api.github.com/users/xiang90/following{/other_user}","gists_url":"https://api.github.com/users/xiang90/gists{/gist_id}","starred_url":"https://api.github.com/users/xiang90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiang90/subscriptions","organizations_url":"https://api.github.com/users/xiang90/orgs","repos_url":"https://api.github.com/users/xiang90/repos","events_url":"https://api.github.com/users/xiang90/events{/privacy}","received_events_url":"https://api.github.com/users/xiang90/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-08T23:07:25Z","updated_at":"2017-06-09T01:50:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/boltdb/bolt/pulls/695","html_url":"https://github.com/boltdb/bolt/pull/695","diff_url":"https://github.com/boltdb/bolt/pull/695.diff","patch_url":"https://github.com/boltdb/bolt/pull/695.patch"},"body":"When the database has a lot of freepages, the cost to sync all\r\nfreepages down to disk is high. If the total database size is\r\nsmall (<10GB), and the application can tolerate ~10 seconds\r\nrecovery time, then it is reasonable to simply not sync freelist\r\nand rescan the db to rebuild freelist on recovery.\r\n\r\nThis is a early attempt. Would like to see your feedbacks.\r\n\r\n/cc @benbjohnson @heyitsanthony"},"comment":{"url":"https://api.github.com/repos/boltdb/bolt/issues/comments/307273268","html_url":"https://github.com/boltdb/bolt/pull/695#issuecomment-307273268","issue_url":"https://api.github.com/repos/boltdb/bolt/issues/695","id":307273268,"user":{"login":"xiang90","id":4479947,"avatar_url":"https://avatars3.githubusercontent.com/u/4479947?v=3","gravatar_id":"","url":"https://api.github.com/users/xiang90","html_url":"https://github.com/xiang90","followers_url":"https://api.github.com/users/xiang90/followers","following_url":"https://api.github.com/users/xiang90/following{/other_user}","gists_url":"https://api.github.com/users/xiang90/gists{/gist_id}","starred_url":"https://api.github.com/users/xiang90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiang90/subscriptions","organizations_url":"https://api.github.com/users/xiang90/orgs","repos_url":"https://api.github.com/users/xiang90/repos","events_url":"https://api.github.com/users/xiang90/events{/privacy}","received_events_url":"https://api.github.com/users/xiang90/received_events","type":"User","site_admin":false},"created_at":"2017-06-09T01:50:09Z","updated_at":"2017-06-09T01:50:09Z","body":"In our test environment, this reduces the db size from ~100MB to ~10MB and reduce 5x iops."}}
{"actor":{"display_login":"xiang90"}}