{"action":"created","issue":{"url":"https://api.github.com/repos/wiredtiger/wiredtiger/issues/1545","labels_url":"https://api.github.com/repos/wiredtiger/wiredtiger/issues/1545/labels{/name}","comments_url":"https://api.github.com/repos/wiredtiger/wiredtiger/issues/1545/comments","events_url":"https://api.github.com/repos/wiredtiger/wiredtiger/issues/1545/events","html_url":"https://github.com/wiredtiger/wiredtiger/issues/1545","id":54075894,"number":1545,"title":"closing log files does not sync them","user":{"login":"sueloverso","id":2945957,"avatar_url":"https://avatars.githubusercontent.com/u/2945957?v=3","gravatar_id":"","url":"https://api.github.com/users/sueloverso","html_url":"https://github.com/sueloverso","followers_url":"https://api.github.com/users/sueloverso/followers","following_url":"https://api.github.com/users/sueloverso/following{/other_user}","gists_url":"https://api.github.com/users/sueloverso/gists{/gist_id}","starred_url":"https://api.github.com/users/sueloverso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sueloverso/subscriptions","organizations_url":"https://api.github.com/users/sueloverso/orgs","repos_url":"https://api.github.com/users/sueloverso/repos","events_url":"https://api.github.com/users/sueloverso/events{/privacy}","received_events_url":"https://api.github.com/users/sueloverso/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wiredtiger/wiredtiger/labels/Bug","name":"Bug","color":"e10c02"}],"state":"open","locked":false,"assignee":{"login":"sueloverso","id":2945957,"avatar_url":"https://avatars.githubusercontent.com/u/2945957?v=3","gravatar_id":"","url":"https://api.github.com/users/sueloverso","html_url":"https://github.com/sueloverso","followers_url":"https://api.github.com/users/sueloverso/followers","following_url":"https://api.github.com/users/sueloverso/following{/other_user}","gists_url":"https://api.github.com/users/sueloverso/gists{/gist_id}","starred_url":"https://api.github.com/users/sueloverso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sueloverso/subscriptions","organizations_url":"https://api.github.com/users/sueloverso/orgs","repos_url":"https://api.github.com/users/sueloverso/repos","events_url":"https://api.github.com/users/sueloverso/events{/privacy}","received_events_url":"https://api.github.com/users/sueloverso/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-01-12T16:41:15Z","updated_at":"2015-01-12T18:16:17Z","closed_at":null,"body":"Closing a log file does not sync its contents.  The thread that closes it, off the critical path, should call fsync before `__wt_close`."},"comment":{"url":"https://api.github.com/repos/wiredtiger/wiredtiger/issues/comments/69616913","html_url":"https://github.com/wiredtiger/wiredtiger/issues/1545#issuecomment-69616913","issue_url":"https://api.github.com/repos/wiredtiger/wiredtiger/issues/1545","id":69616913,"user":{"login":"sueloverso","id":2945957,"avatar_url":"https://avatars.githubusercontent.com/u/2945957?v=3","gravatar_id":"","url":"https://api.github.com/users/sueloverso","html_url":"https://github.com/sueloverso","followers_url":"https://api.github.com/users/sueloverso/followers","following_url":"https://api.github.com/users/sueloverso/following{/other_user}","gists_url":"https://api.github.com/users/sueloverso/gists{/gist_id}","starred_url":"https://api.github.com/users/sueloverso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sueloverso/subscriptions","organizations_url":"https://api.github.com/users/sueloverso/orgs","repos_url":"https://api.github.com/users/sueloverso/repos","events_url":"https://api.github.com/users/sueloverso/events{/privacy}","received_events_url":"https://api.github.com/users/sueloverso/received_events","type":"User","site_admin":false},"created_at":"2015-01-12T18:16:17Z","updated_at":"2015-01-12T18:16:17Z","body":"@michaelcahill I pushed a fix for this.  Although it is not on the critical path (i.e. holding the lock) the thread that is unlucky to switch the log file will incur the cost of the sync.  This is only an issue when running without durability settings.  We'll see how this impacts the performance tests.\r\n\r\nIn the longer term we can consider a different mechanism where the log server thread does the sync and closing of the log files"}}