{"action":"closed","issue":{"url":"https://api.github.com/repos/jankotek/mapdb/issues/706","repository_url":"https://api.github.com/repos/jankotek/mapdb","labels_url":"https://api.github.com/repos/jankotek/mapdb/issues/706/labels{/name}","comments_url":"https://api.github.com/repos/jankotek/mapdb/issues/706/comments","events_url":"https://api.github.com/repos/jankotek/mapdb/issues/706/events","html_url":"https://github.com/jankotek/mapdb/issues/706","id":153853988,"number":706,"title":"org.mapdb.DBException$DataCorruption after reboot","user":{"login":"shyiko","id":370176,"avatar_url":"https://avatars.githubusercontent.com/u/370176?v=3","gravatar_id":"","url":"https://api.github.com/users/shyiko","html_url":"https://github.com/shyiko","followers_url":"https://api.github.com/users/shyiko/followers","following_url":"https://api.github.com/users/shyiko/following{/other_user}","gists_url":"https://api.github.com/users/shyiko/gists{/gist_id}","starred_url":"https://api.github.com/users/shyiko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shyiko/subscriptions","organizations_url":"https://api.github.com/users/shyiko/orgs","repos_url":"https://api.github.com/users/shyiko/repos","events_url":"https://api.github.com/users/shyiko/events{/privacy}","received_events_url":"https://api.github.com/users/shyiko/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jankotek/mapdb/labels/3.0","name":"3.0","color":"0052cc"},{"url":"https://api.github.com/repos/jankotek/mapdb/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-05-09T19:45:48Z","updated_at":"2016-05-18T16:03:43Z","closed_at":"2016-05-18T16:03:43Z","body":"Hi. This is not of immediate importance as we don't intend to use MapDB in production, but I thought it might of interest to you:\r\n\r\n```kotlin\r\nval db = fileDB(...).closeOnJvmShutdown().make()\r\ndb.hashMap(\"...\").keySerializer(Serializer.STRING).createOrOpen()\r\ndb.hashMap(\"...\").keySerializer(Serializer.STRING).createOrOpen()\r\ndb.treeMap(\"...\").keySerializer(SerializerArrayTuple(Serializer.STRING, Serializer.STRING)).createOrOpen()\r\n```\r\n\r\n(db file itself - https://transfer.sh/10HejT/mapdb.corrupted)\r\n\r\nAs it says in the title - MapDB failed with \"org.mapdb.DBException$DataCorruption: Header checksum broken. Store was not closed correctly, or is corrupted\" after the reboot. \r\n"}}