{
   "expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
   "id": "431012",
   "self": "https://bugs.mojang.com/rest/api/2/issue/431012",
   "key": "BDS-12816",
   "fields": {
      "issuetype": "1",
      "project": "11700",
      "fixVersions": [],
      "resolution": "4",
      "customfield_10500": {
         "self": "https://bugs.mojang.com/rest/api/2/customFieldOption/10300",
         "value": "Unconfirmed",
         "id": "10300",
         "disabled": false
      },
      "customfield_12800": null,
      "customfield_12602": [],
      "customfield_12601": null,
      "customfield_12604": null,
      "customfield_12603": null,
      "customfield_12606": null,
      "customfield_12605": null,
      "customfield_12608": null,
      "resolutiondate": "2021-09-21T17:58:59.000+0300",
      "customfield_12607": null,
      "customfield_12609": null,
      "workratio": -1,
      "lastViewed": null,
      "watches": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-12816/watchers",
         "watchCount": 0,
         "isWatching": false
      },
      "created": "2021-04-13T06:15:58.000+0300",
      "customfield_12000": null,
      "customfield_12201": null,
      "customfield_12600": null,
      "labels": [],
      "customfield_11700": "{}",
      "versions": [
         "19915"
      ],
      "issuelinks": [],
      "assignee": null,
      "updated": "2021-09-21T17:58:59.000+0300",
      "status": "5",
      "description": "I had power loss to my BDS due to a severe thunderstorm that resulted in my home losing power for an extended period of time (far longer than my UPS could manage to keep it powered). After booting my server, my companion players noticed huge chunks of the world were mislocated to other chunks in the world. Different landscapes we had discovered were randomly places in other locations. The databases seem to not be copy-on-write, thus, power loss leading to corruption. This might be a design feature to consider, or some sort of periodic snap shot feature to revert the database if an ungraceful shutdown were to happen.\r\n\r\nFortunately, I keep daily backups of my server's game data and was able to restore everything to a working state.",
      "customfield_11100": 0.0,
      "customfield_11300": null,
      "customfield_11500": null,
      "customfield_12503": null,
      "customfield_12700": null,
      "customfield_12502": null,
      "customfield_12504": null,
      "attachment": [],
      "summary": "Power Loss Causes Database Corruption",
      "creator": "JIRAUSER631604",
      "reporter": "JIRAUSER631604",
      "customfield_10002": null,
      "customfield_12501": null,
      "customfield_12500": null,
      "customfield_11601": null,
      "customfield_11600": "0|i1vzm7:",
      "environment": "Ubuntu 20.04.2 LTS 64-bit, running Bedrock BDS in an LXC container.",
      "customfield_11801": null,
      "customfield_11800": null,
      "customfield_11602": null,
      "customfield_11802": null,
      "comment": {
         "comments": [
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/431012/comment/1018476",
               "id": "1018476",
               "author": "JIRAUSER484247",
               "body": "*Thank you for your report!*\r\nHowever, this issue has been temporarily closed as\u00a0*{color:#ff5722}Awaiting Response{color}*\r\n\r\nIs this still an issue in the latest version? If so, can you please add it to the affected versions (or mention it if you are not the reporter).\r\nThis ticket will automatically reopen when you reply.\r\n\r\n*Quick Links*:\r\n\ud83d\udcd3\u00a0[Issue Guidelines|http://help.mojang.com/customer/portal/articles/801354-writing-helpful-bug-reports-for-minecraft]\u00a0\u2013 \ud83d\udcac\u00a0[Mojang Support|https://help.minecraft.net/hc/en-us/requests/new]\u00a0\u2013 \ud83d\udce7\u00a0[Suggestions|https://feedback.minecraft.net/]\u00a0\u2013 \ud83d\udcd6\u00a0[Minecraft Wiki|http://minecraft.gamepedia.com/Minecraft_Wiki]",
               "updateAuthor": "JIRAUSER484247",
               "created": "2021-06-18T15:40:04.497+0300",
               "updated": "2021-06-18T15:40:04.497+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/431012/comment/1075528",
               "id": "1075528",
               "author": "JIRAUSER484247",
               "body": "Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as _Incomplete_. If you feel this is still a valid issue then please comment, or create a new ticket following the [Issue Guidelines|http://help.mojang.com/customer/portal/articles/801354-writing-helpful-bug-reports-for-minecraft] which includes steps to reproduce the problem.\r\n\r\n*Quick Links*:\r\n \ud83d\udcd3 [Issue Guidelines|http://help.mojang.com/customer/portal/articles/801354-writing-helpful-bug-reports-for-minecraft] \u2013 \ud83d\udcac [Mojang Support|https://help.minecraft.net/hc/en-us/requests/new] \u2013 \ud83d\udce7 [Suggestions|https://feedback.minecraft.net/] \u2013 \ud83d\udcd6 [Minecraft Wiki|http://minecraft.gamepedia.com/Minecraft_Wiki]",
               "updateAuthor": "JIRAUSER484247",
               "created": "2021-09-21T17:58:59.338+0300",
               "updated": "2021-09-21T17:58:59.338+0300"
            }
         ],
         "maxResults": 2,
         "total": 2,
         "startAt": 0
      },
      "votes": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-12816/votes",
         "votes": 1,
         "hasVoted": false
      }
   },
   "changelog": {
      "startAt": 0,
      "maxResults": 4,
      "total": 4,
      "histories": [
         {
            "id": "2237261",
            "author": "JIRAUSER484247",
            "created": "2021-06-18T15:40:04.551+0300",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "10001",
                  "toString": "Awaiting Response"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         },
         {
            "id": "2370405",
            "author": "JIRAUSER484247",
            "created": "2021-09-21T17:58:17.618+0300",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": "10001",
                  "fromString": "Awaiting Response",
                  "to": null,
                  "toString": null
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "5",
                  "fromString": "Resolved",
                  "to": "4",
                  "toString": "Reopened"
               }
            ]
         },
         {
            "id": "2370406",
            "author": "arisabot",
            "created": "2021-09-21T17:58:23.232+0300",
            "items": [
               {
                  "field": "Linked",
                  "fieldtype": "custom",
                  "from": null,
                  "fromString": null,
                  "to": null,
                  "toString": "0"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "4",
                  "fromString": "Reopened",
                  "to": "4",
                  "toString": "Reopened"
               }
            ]
         },
         {
            "id": "2370407",
            "author": "JIRAUSER484247",
            "created": "2021-09-21T17:58:59.340+0300",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "4",
                  "toString": "Incomplete"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "4",
                  "fromString": "Reopened",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         }
      ]
   }
}