{"action":"created","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/7540","repository_url":"https://api.github.com/repos/orientechnologies/orientdb","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/7540/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/7540/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/7540/events","html_url":"https://github.com/orientechnologies/orientdb/issues/7540","id":241660970,"number":7540,"title":"Block execution of database if data corruption on disk is dected","user":{"login":"laa","id":105066,"avatar_url":"https://avatars3.githubusercontent.com/u/105066?v=3","gravatar_id":"","url":"https://api.github.com/users/laa","html_url":"https://github.com/laa","followers_url":"https://api.github.com/users/laa/followers","following_url":"https://api.github.com/users/laa/following{/other_user}","gists_url":"https://api.github.com/users/laa/gists{/gist_id}","starred_url":"https://api.github.com/users/laa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laa/subscriptions","organizations_url":"https://api.github.com/users/laa/orgs","repos_url":"https://api.github.com/users/laa/repos","events_url":"https://api.github.com/users/laa/events{/privacy}","received_events_url":"https://api.github.com/users/laa/received_events","type":"User","site_admin":false},"labels":[{"id":21666880,"url":"https://api.github.com/repos/orientechnologies/orientdb/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":356638774,"url":"https://api.github.com/repos/orientechnologies/orientdb/labels/storage%20team","name":"storage team","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/88","html_url":"https://github.com/orientechnologies/orientdb/milestone/88","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/88/labels","id":1768027,"number":88,"title":"2.2.x (next hotfix)","description":"","creator":{"login":"robfrank","id":413587,"avatar_url":"https://avatars0.githubusercontent.com/u/413587?v=3","gravatar_id":"","url":"https://api.github.com/users/robfrank","html_url":"https://github.com/robfrank","followers_url":"https://api.github.com/users/robfrank/followers","following_url":"https://api.github.com/users/robfrank/following{/other_user}","gists_url":"https://api.github.com/users/robfrank/gists{/gist_id}","starred_url":"https://api.github.com/users/robfrank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robfrank/subscriptions","organizations_url":"https://api.github.com/users/robfrank/orgs","repos_url":"https://api.github.com/users/robfrank/repos","events_url":"https://api.github.com/users/robfrank/events{/privacy}","received_events_url":"https://api.github.com/users/robfrank/received_events","type":"User","site_admin":false},"open_issues":168,"closed_issues":0,"state":"open","created_at":"2016-05-16T08:28:14Z","updated_at":"2017-07-10T10:01:26Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2017-07-10T10:01:25Z","updated_at":"2017-07-12T07:03:45Z","closed_at":null,"body":"We implemented a feature which allows detecting whether data are broken on disk by checking them using CRC32 code. But it this moment we by default put the warning message in a log, and that is it. It will take a while till user notices this message. Data structures may be damaged even more till warning will be noticed. There is no point to run the database with corrupted data structures. We should use the same approach which we use to switch database in read-only mode when space on a disk is exhausted to switch in in read-only mode when data corruption on disk is detected."},"comment":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/comments/314673632","html_url":"https://github.com/orientechnologies/orientdb/issues/7540#issuecomment-314673632","issue_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/7540","id":314673632,"user":{"login":"lvca","id":312606,"avatar_url":"https://avatars3.githubusercontent.com/u/312606?v=3","gravatar_id":"","url":"https://api.github.com/users/lvca","html_url":"https://github.com/lvca","followers_url":"https://api.github.com/users/lvca/followers","following_url":"https://api.github.com/users/lvca/following{/other_user}","gists_url":"https://api.github.com/users/lvca/gists{/gist_id}","starred_url":"https://api.github.com/users/lvca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvca/subscriptions","organizations_url":"https://api.github.com/users/lvca/orgs","repos_url":"https://api.github.com/users/lvca/repos","events_url":"https://api.github.com/users/lvca/events{/privacy}","received_events_url":"https://api.github.com/users/lvca/received_events","type":"User","site_admin":false},"created_at":"2017-07-12T07:03:45Z","updated_at":"2017-07-12T07:03:45Z","body":"I like this. And if you could provide a listener for such event, running in HA could automatically re-deploy the corrupted database to the server."}}
{"actor":{"display_login":"lvca"}}