{"action":"closed","issue":{"url":"https://api.github.com/repos/jankotek/MapDB/issues/503","labels_url":"https://api.github.com/repos/jankotek/MapDB/issues/503/labels{/name}","comments_url":"https://api.github.com/repos/jankotek/MapDB/issues/503/comments","events_url":"https://api.github.com/repos/jankotek/MapDB/issues/503/events","html_url":"https://github.com/jankotek/MapDB/issues/503","id":73106285,"number":503,"title":"StoreWAL.close does not call vol.close and so leaks file handles","user":{"login":"batterseapower","id":18488,"avatar_url":"https://avatars.githubusercontent.com/u/18488?v=3","gravatar_id":"","url":"https://api.github.com/users/batterseapower","html_url":"https://github.com/batterseapower","followers_url":"https://api.github.com/users/batterseapower/followers","following_url":"https://api.github.com/users/batterseapower/following{/other_user}","gists_url":"https://api.github.com/users/batterseapower/gists{/gist_id}","starred_url":"https://api.github.com/users/batterseapower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/batterseapower/subscriptions","organizations_url":"https://api.github.com/users/batterseapower/orgs","repos_url":"https://api.github.com/users/batterseapower/repos","events_url":"https://api.github.com/users/batterseapower/events{/privacy}","received_events_url":"https://api.github.com/users/batterseapower/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jankotek/MapDB/labels/2.0","name":"2.0","color":"009800"},{"url":"https://api.github.com/repos/jankotek/MapDB/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-04T19:26:03Z","updated_at":"2015-05-05T14:09:15Z","closed_at":"2015-05-05T14:09:15Z","body":"https://github.com/jankotek/MapDB/blob/master/src/main/java/org/mapdb/StoreWAL.java#L1193\r\n\r\nThis means you can't e.g. rename a DB that you have just created (and then closed) using the WAL.\r\n\r\nNote that you do call vol.close e.g. after replay (https://github.com/jankotek/MapDB/blob/master/src/main/java/org/mapdb/StoreWAL.java#L994), the lack of a close in the close method itself seems to be an oversight.\r\n\r\nCould be related to #457 ?"}}