{"action":"created","issue":{"url":"https://api.github.com/repos/influxdata/influxdb/issues/9830","repository_url":"https://api.github.com/repos/influxdata/influxdb","labels_url":"https://api.github.com/repos/influxdata/influxdb/issues/9830/labels{/name}","comments_url":"https://api.github.com/repos/influxdata/influxdb/issues/9830/comments","events_url":"https://api.github.com/repos/influxdata/influxdb/issues/9830/events","html_url":"https://github.com/influxdata/influxdb/issues/9830","id":322237521,"number":9830,"title":" error reading magic number of file: EOF after OS hard kill","user":{"login":"wosiu","id":4964388,"avatar_url":"https://avatars2.githubusercontent.com/u/4964388?v=4","gravatar_id":"","url":"https://api.github.com/users/wosiu","html_url":"https://github.com/wosiu","followers_url":"https://api.github.com/users/wosiu/followers","following_url":"https://api.github.com/users/wosiu/following{/other_user}","gists_url":"https://api.github.com/users/wosiu/gists{/gist_id}","starred_url":"https://api.github.com/users/wosiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wosiu/subscriptions","organizations_url":"https://api.github.com/users/wosiu/orgs","repos_url":"https://api.github.com/users/wosiu/repos","events_url":"https://api.github.com/users/wosiu/events{/privacy}","received_events_url":"https://api.github.com/users/wosiu/received_events","type":"User","site_admin":false},"labels":[{"id":270208886,"url":"https://api.github.com/repos/influxdata/influxdb/labels/area/tsm","name":"area/tsm","color":"fbca04","default":false},{"id":234015319,"url":"https://api.github.com/repos/influxdata/influxdb/labels/area/writes","name":"area/writes","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"benbjohnson","id":118015,"avatar_url":"https://avatars2.githubusercontent.com/u/118015?v=4","gravatar_id":"","url":"https://api.github.com/users/benbjohnson","html_url":"https://github.com/benbjohnson","followers_url":"https://api.github.com/users/benbjohnson/followers","following_url":"https://api.github.com/users/benbjohnson/following{/other_user}","gists_url":"https://api.github.com/users/benbjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/benbjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benbjohnson/subscriptions","organizations_url":"https://api.github.com/users/benbjohnson/orgs","repos_url":"https://api.github.com/users/benbjohnson/repos","events_url":"https://api.github.com/users/benbjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/benbjohnson/received_events","type":"User","site_admin":false},"assignees":[{"login":"benbjohnson","id":118015,"avatar_url":"https://avatars2.githubusercontent.com/u/118015?v=4","gravatar_id":"","url":"https://api.github.com/users/benbjohnson","html_url":"https://github.com/benbjohnson","followers_url":"https://api.github.com/users/benbjohnson/followers","following_url":"https://api.github.com/users/benbjohnson/following{/other_user}","gists_url":"https://api.github.com/users/benbjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/benbjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benbjohnson/subscriptions","organizations_url":"https://api.github.com/users/benbjohnson/orgs","repos_url":"https://api.github.com/users/benbjohnson/repos","events_url":"https://api.github.com/users/benbjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/benbjohnson/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-05-11T09:53:48Z","updated_at":"2018-05-11T19:47:07Z","closed_at":null,"author_association":"NONE","body":"### Bug report\r\n\r\n__System info:__ [Include InfluxDB version, operating system name, and other relevant details]\r\nUbuntu 16.04\r\ninfluxdb_1.5.1_amd64\r\n\r\n__Actual behavior:__ [What actually happened]\r\nGetting \r\n```\r\n[shard 38] error opening memory map for file /var/lib/influxdb/data/OCR_METRICS_DB/autogen/38/000000001-000000001.tsm: init: error reading magic number of file: EOF\r\n```\r\n\r\n__Steps to reproduce:__\r\n1. Kill whole system hard\r\n2. Cannot write to influxDB after system start\r\n\r\n__Expected behavior:__ [What you expected to happen]\r\nMove broken files out of data storage dir and start new, or fix broken file automatically.\r\n\r\n__Manual workaround__\r\nrm -rf /var/lib/influxdb/data/OCR_METRICS_DB/autogen/38\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/influxdata/influxdb/issues/comments/388467596","html_url":"https://github.com/influxdata/influxdb/issues/9830#issuecomment-388467596","issue_url":"https://api.github.com/repos/influxdata/influxdb/issues/9830","id":388467596,"user":{"login":"benbjohnson","id":118015,"avatar_url":"https://avatars2.githubusercontent.com/u/118015?v=4","gravatar_id":"","url":"https://api.github.com/users/benbjohnson","html_url":"https://github.com/benbjohnson","followers_url":"https://api.github.com/users/benbjohnson/followers","following_url":"https://api.github.com/users/benbjohnson/following{/other_user}","gists_url":"https://api.github.com/users/benbjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/benbjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benbjohnson/subscriptions","organizations_url":"https://api.github.com/users/benbjohnson/orgs","repos_url":"https://api.github.com/users/benbjohnson/repos","events_url":"https://api.github.com/users/benbjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/benbjohnson/received_events","type":"User","site_admin":false},"created_at":"2018-05-11T19:47:07Z","updated_at":"2018-05-11T19:47:07Z","author_association":"CONTRIBUTOR","body":"It sounds like there's a zero length file being generated somehow. We put in a fix to rename, log, & skip corrupt files here: https://github.com/influxdata/influxdb/pull/9785"}}
{"actor":{"display_login":"benbjohnson"}}