Aikar
ed0d75e389
Identify corrupt region file data and self recover
...
If we identify an invalid offset (negative, or the header sectors),
then back up the region file and erase that specific chunks offset
data.
This will avoid crashing the server with AIOBB errors and also avoids
server owners having to consider the entire region file 'lost'.
I'm not sure what leads to this state, I can only assume write cut
off mid bits.
In this scenario, there is absolutely no way to know where the chunk
actually is in the data file without loading every
single chunk in the file. And even to do that, would be quite extreme
due to the fact the file isn't in some orderly fashion.
Since the file is backed up, the user can use a region fixer tool
externally to try to restore that single chunk. We could even
add a command to restore a chunk from a backup file in a different
commit later on. But this at least prevents the server from crashing.
The server will just generate a new chunk and move on,
after printing an error to the console about it.
Also fixed the case reported in this issue about the server
hanging when a corrupt chunk is encountered, so this issue
is now fully closed.
Resolves #1541
2018-10-10 21:28:12 -04:00
..
2018-09-28 19:31:59 -04:00
2018-08-31 11:51:41 -04:00
2018-08-28 17:49:36 -04:00
2018-08-05 19:46:43 -04:00
2018-10-06 01:17:32 -04:00
2018-09-26 00:57:59 -04:00
2018-08-26 14:11:49 -04:00
2018-09-28 19:31:59 -04:00
2018-07-20 20:57:43 +01:00
2018-09-29 12:03:11 -04:00
2018-08-31 18:56:57 -04:00
2018-09-26 00:57:59 -04:00
2018-10-06 00:56:20 -04:00
2018-10-07 14:58:53 -04:00
2018-10-06 00:56:20 -04:00
2018-10-02 11:01:56 +01:00
2018-10-06 00:56:20 -04:00
2018-10-02 11:01:56 +01:00
2018-09-28 19:31:59 -04:00
2018-10-08 20:14:55 -05:00
2018-10-02 11:01:56 +01:00
2018-09-28 19:31:59 -04:00
2018-09-26 22:35:42 -04:00
2018-09-28 19:31:59 -04:00
2018-10-07 11:58:09 -05:00
2018-09-26 22:35:42 -04:00
2018-10-02 06:54:45 +01:00
2018-10-06 00:56:20 -04:00
2018-09-26 22:35:42 -04:00
2018-09-09 20:38:27 +02:00
2018-09-28 19:31:59 -04:00
2018-09-28 19:31:59 -04:00
2018-10-02 06:54:45 +01:00
2018-09-26 22:35:42 -04:00
2018-10-02 11:01:56 +01:00
2018-09-26 22:35:42 -04:00
2018-09-28 19:31:59 -04:00
2018-09-06 22:08:35 -04:00
2018-10-06 00:56:20 -04:00
2018-10-07 14:58:53 -04:00
2018-10-07 14:58:53 -04:00
2018-10-02 11:01:56 +01:00
2018-07-23 09:39:55 +01:00
2018-08-26 14:11:49 -04:00
2018-09-28 19:31:59 -04:00
2018-09-28 19:31:59 -04:00
2018-10-06 00:56:20 -04:00
2018-09-26 00:57:59 -04:00
2018-10-04 23:18:46 -04:00
2018-10-07 14:58:53 -04:00
2018-08-26 14:11:49 -04:00
2018-08-31 18:56:57 -04:00
2018-09-28 19:31:59 -04:00
2018-09-28 19:31:59 -04:00
2018-10-06 22:31:21 -05:00
2018-09-26 22:35:42 -04:00
2018-10-06 00:56:20 -04:00
2018-10-07 14:58:53 -04:00
2018-07-14 21:53:17 -04:00
2018-10-07 14:58:53 -04:00
2018-10-06 05:31:40 -04:00
2018-09-28 19:31:59 -04:00
2018-10-10 21:28:12 -04:00
2018-10-02 06:38:51 +01:00
2018-09-28 19:31:59 -04:00
2018-10-06 00:56:20 -04:00
2018-08-26 14:11:49 -04:00
2018-10-06 00:56:20 -04:00
2018-09-26 22:35:42 -04:00
2018-10-06 00:56:20 -04:00
2018-08-26 14:11:49 -04:00
2018-07-23 09:39:55 +01:00
2018-10-04 23:18:46 -04:00
2018-09-28 19:31:59 -04:00
2018-09-26 00:57:59 -04:00
2018-08-26 14:11:49 -04:00
2018-09-28 19:31:59 -04:00
2018-10-06 00:56:20 -04:00
2018-08-31 11:51:41 -04:00
2018-10-07 14:58:53 -04:00
2018-08-31 18:56:57 -04:00
2018-08-26 14:11:49 -04:00
2018-09-28 19:31:59 -04:00
2018-09-28 19:31:59 -04:00
2018-10-04 23:18:46 -04:00
2018-09-28 19:31:59 -04:00
2018-08-26 14:11:49 -04:00
2018-09-17 21:50:02 -04:00
2018-10-06 00:56:20 -04:00
2018-08-31 18:56:57 -04:00
2018-10-05 17:23:20 +02:00
2018-09-28 19:31:59 -04:00
2018-10-06 00:56:20 -04:00
2018-07-23 20:24:44 -04:00
2018-09-29 12:03:11 -04:00
2018-07-23 20:24:44 -04:00
2018-09-26 00:57:59 -04:00
2018-10-06 00:56:20 -04:00
2018-09-26 00:57:59 -04:00
2018-10-06 00:56:20 -04:00
2018-09-26 00:57:59 -04:00
2018-09-26 00:57:59 -04:00
2018-09-26 00:57:59 -04:00
2018-07-23 20:24:44 -04:00
2018-10-06 00:56:20 -04:00
2018-09-26 00:57:59 -04:00
2018-10-03 20:19:35 +01:00
2018-09-26 22:35:42 -04:00
2018-10-04 23:18:46 -04:00
2018-09-26 00:57:59 -04:00
2018-09-26 00:57:59 -04:00
2018-10-06 00:56:20 -04:00
2018-10-06 00:56:20 -04:00
2018-08-31 18:56:57 -04:00
2018-09-26 00:57:59 -04:00
2018-10-07 14:58:53 -04:00
2018-09-26 00:57:59 -04:00
2018-09-26 22:35:42 -04:00
2018-09-29 12:20:29 -04:00
2018-09-28 19:31:59 -04:00
2018-10-06 00:56:20 -04:00
2018-10-06 00:56:20 -04:00
2018-10-10 21:28:12 -04:00
2018-08-26 14:11:49 -04:00
2018-09-26 00:57:59 -04:00
2018-09-26 00:57:59 -04:00
2018-07-23 09:39:55 +01:00
2018-09-26 22:35:42 -04:00
2018-09-15 12:10:26 -04:00
2018-09-26 00:57:59 -04:00
2018-07-23 09:39:55 +01:00
2018-09-28 19:31:59 -04:00
2018-09-28 19:31:59 -04:00
2018-10-04 23:31:01 -04:00
2018-10-04 23:31:01 -04:00
2018-09-26 22:35:42 -04:00
2018-09-28 19:31:59 -04:00
2018-08-26 14:11:49 -04:00
2018-10-04 23:18:46 -04:00
2018-09-28 19:31:59 -04:00
2018-08-31 18:56:57 -04:00
2018-07-23 09:39:55 +01:00
2018-09-28 19:31:59 -04:00
2018-08-31 18:56:57 -04:00
2018-10-06 00:56:20 -04:00
2018-10-06 00:56:20 -04:00
2018-09-26 22:35:42 -04:00
2018-09-28 19:31:59 -04:00
2018-09-26 22:35:42 -04:00
2018-09-28 19:31:59 -04:00
2018-10-06 01:24:01 +10:00
2018-09-26 22:35:42 -04:00
2018-10-07 14:58:53 -04:00
2018-08-31 18:56:57 -04:00
2018-08-26 14:11:49 -04:00
2018-08-26 14:11:49 -04:00
2018-08-26 14:11:49 -04:00
2018-09-26 22:35:42 -04:00
2018-10-04 23:18:46 -04:00
2018-09-28 19:31:59 -04:00
2018-09-26 22:35:42 -04:00
2018-09-28 19:31:59 -04:00
2018-10-07 14:58:53 -04:00
2018-09-17 21:50:02 -04:00
2018-09-26 22:35:42 -04:00
2018-09-26 22:35:42 -04:00
2018-09-28 19:31:59 -04:00
2018-08-31 18:56:57 -04:00
2018-09-28 19:31:59 -04:00
2018-10-02 11:01:56 +01:00
2018-09-26 22:35:42 -04:00
2018-09-26 22:35:42 -04:00
2018-09-26 22:35:42 -04:00
2018-09-17 21:50:02 -04:00
2018-09-26 22:35:42 -04:00
2018-09-28 19:31:59 -04:00
2018-09-28 19:31:59 -04:00
2018-09-28 19:31:59 -04:00
2018-08-26 14:11:49 -04:00
2018-08-26 14:11:49 -04:00
2018-07-23 09:39:55 +01:00
2018-09-26 00:57:59 -04:00
2018-08-26 14:11:49 -04:00
2018-08-31 18:56:57 -04:00
2018-09-23 06:30:54 +03:00
2018-09-26 22:35:42 -04:00
2018-10-06 05:31:40 -04:00
2018-10-02 06:54:45 +01:00
2018-09-17 21:50:02 -04:00
2018-08-31 18:56:57 -04:00
2018-09-26 22:35:42 -04:00
2018-09-03 04:14:40 -04:00
2018-09-26 22:35:42 -04:00
2018-08-31 18:56:57 -04:00
2018-10-02 06:54:45 +01:00
2018-10-03 18:15:22 -04:00
2018-10-07 14:58:53 -04:00
2018-09-22 21:28:16 -05:00
2018-09-17 21:50:02 -04:00
2018-08-26 14:11:49 -04:00
2018-09-28 19:31:59 -04:00
2018-07-23 09:39:55 +01:00
2018-08-31 18:56:57 -04:00
2018-10-04 23:31:01 -04:00
2018-10-07 14:58:53 -04:00
2018-09-28 19:31:59 -04:00
2018-10-04 23:18:46 -04:00
2018-09-28 19:31:59 -04:00
2018-09-24 05:41:32 -04:00
2018-09-28 19:31:59 -04:00
2018-09-28 19:31:59 -04:00
2018-09-28 19:31:59 -04:00
2018-09-28 19:31:59 -04:00
2018-10-02 06:54:45 +01:00
2018-09-28 19:31:59 -04:00
2018-09-26 22:35:42 -04:00
2018-10-05 00:21:08 -04:00
2018-10-07 14:58:53 -04:00
2018-09-27 00:11:50 -04:00
2018-10-02 11:01:56 +01:00
2018-10-02 22:53:27 -04:00
2018-09-28 19:31:59 -04:00
2018-09-28 19:31:59 -04:00
2018-08-26 14:11:49 -04:00
2018-08-26 14:11:49 -04:00
2018-09-28 19:31:59 -04:00
2018-10-07 14:58:53 -04:00
2018-09-18 01:53:27 +03:00
2018-08-31 18:56:57 -04:00
2018-09-28 19:31:59 -04:00
2018-09-26 22:35:42 -04:00
2018-10-02 11:01:56 +01:00
2018-09-17 21:50:02 -04:00
2018-10-02 11:01:56 +01:00
2018-07-23 09:39:55 +01:00
2018-07-23 09:39:55 +01:00
2018-09-28 19:31:59 -04:00
2018-09-03 10:11:35 -04:00
2018-10-06 00:56:20 -04:00
2018-08-31 18:56:57 -04:00
2018-09-28 19:31:59 -04:00
2018-10-06 00:56:20 -04:00
2018-09-28 19:31:59 -04:00
2018-08-26 14:11:49 -04:00
2018-09-28 19:31:59 -04:00
2018-09-28 19:31:59 -04:00
2018-09-26 22:35:42 -04:00
2018-08-26 14:11:49 -04:00
2018-08-31 18:56:57 -04:00
2018-09-26 00:57:59 -04:00
2018-10-06 00:56:20 -04:00
2018-08-31 18:56:57 -04:00
2018-09-29 12:03:11 -04:00
2018-09-28 19:31:59 -04:00
2018-10-06 00:56:20 -04:00
2018-09-26 22:35:42 -04:00
2018-09-26 22:35:42 -04:00
2018-10-06 00:56:20 -04:00
2018-08-26 14:11:49 -04:00
2018-10-02 22:53:27 -04:00
2018-10-04 23:18:46 -04:00
2018-10-04 23:18:46 -04:00
2018-09-26 22:35:42 -04:00
2018-08-26 14:11:49 -04:00
2018-07-29 12:42:07 -04:00
2018-08-26 14:11:49 -04:00
2018-08-31 18:56:57 -04:00
2018-09-28 19:31:59 -04:00
2018-10-07 14:58:53 -04:00
2018-09-12 21:50:34 -04:00
2018-10-04 23:18:46 -04:00
2018-09-28 19:31:59 -04:00
2018-10-07 14:58:53 -04:00
2018-08-31 18:56:57 -04:00
2018-09-26 00:57:59 -04:00
2018-10-07 14:58:53 -04:00
2018-10-04 23:18:46 -04:00
2018-10-06 00:56:20 -04:00
2018-08-26 14:11:49 -04:00
2018-10-08 20:27:13 -04:00
2018-08-31 18:56:57 -04:00
2018-08-26 14:11:49 -04:00
2018-08-31 18:56:57 -04:00
2018-08-31 18:56:57 -04:00
2018-09-18 19:30:49 -04:00
2018-08-31 18:56:57 -04:00
2018-09-28 19:31:59 -04:00
2018-09-17 21:50:02 -04:00
2018-09-28 19:31:59 -04:00
2018-09-26 00:57:59 -04:00
2018-09-26 00:57:59 -04:00
2018-10-07 14:58:53 -04:00
2018-10-06 00:56:20 -04:00
2018-09-26 22:35:42 -04:00
2018-09-26 22:35:42 -04:00
2018-10-06 00:56:20 -04:00
2018-10-06 00:56:20 -04:00
2018-08-31 18:56:57 -04:00
2018-09-15 19:13:40 -04:00
2018-09-28 19:31:59 -04:00
2018-09-28 19:31:59 -04:00
2018-08-26 14:11:49 -04:00
2018-08-26 14:11:49 -04:00
2018-08-31 18:56:57 -04:00
2018-08-31 18:56:57 -04:00
2018-09-28 19:31:59 -04:00
2018-08-26 14:11:49 -04:00
2018-08-26 14:11:49 -04:00
2018-08-26 14:11:49 -04:00
2018-08-26 14:11:49 -04:00
2018-10-05 08:52:04 -07:00
2018-09-28 19:31:59 -04:00
2018-09-22 22:03:53 -05:00
2018-10-05 17:23:20 +02:00
2018-09-10 23:38:16 -04:00
2018-09-28 19:31:59 -04:00
2018-08-31 18:56:57 -04:00
2018-08-26 14:11:49 -04:00
2018-10-07 14:58:53 -04:00
2018-09-17 21:50:02 -04:00
2018-10-04 23:18:46 -04:00
2018-09-26 22:35:42 -04:00
2018-09-15 12:10:26 -04:00
2018-08-26 14:11:49 -04:00
2018-07-23 09:39:55 +01:00
2018-10-04 23:18:46 -04:00
2018-10-02 06:54:45 +01:00
2018-10-04 23:18:46 -04:00
2018-09-26 22:35:42 -04:00
2018-09-26 00:57:59 -04:00
2018-09-28 19:31:59 -04:00
2018-10-06 00:56:20 -04:00
2018-08-31 18:56:57 -04:00
2018-09-28 22:37:11 -04:00
2018-09-28 19:31:59 -04:00
2018-08-31 18:56:57 -04:00
2018-10-02 06:54:45 +01:00
2018-07-23 09:39:55 +01:00
2018-08-31 18:56:57 -04:00
2018-07-23 09:39:55 +01:00
2018-09-26 22:35:42 -04:00
2018-09-28 19:31:59 -04:00
2018-09-17 22:32:37 -04:00
2018-09-17 21:50:02 -04:00
2018-07-23 09:39:55 +01:00
2018-09-15 12:10:26 -04:00
2018-10-04 23:18:46 -04:00
2018-10-02 06:54:45 +01:00
2018-10-06 00:56:20 -04:00
2018-07-14 21:53:17 -04:00
2018-09-17 21:50:02 -04:00
2018-10-07 14:58:53 -04:00
2018-08-31 18:56:57 -04:00
2018-10-02 11:01:56 +01:00
2018-09-24 05:41:32 -04:00
2018-07-23 09:39:55 +01:00
2018-09-26 22:35:42 -04:00
2018-10-07 11:57:52 -05:00
2018-10-04 23:18:46 -04:00
2018-08-27 11:07:22 -04:00
2018-09-28 19:31:59 -04:00
2018-09-28 19:31:59 -04:00
2018-10-06 00:56:20 -04:00
2018-07-23 09:39:55 +01:00
2018-07-23 09:39:55 +01:00
2018-10-06 00:56:20 -04:00
2018-09-26 00:57:59 -04:00
2018-09-26 00:57:59 -04:00
2018-08-26 14:11:49 -04:00
2018-09-26 22:35:42 -04:00
2018-09-28 19:31:59 -04:00
2018-10-04 23:18:46 -04:00
2018-09-28 19:31:59 -04:00
2018-09-17 21:50:02 -04:00
2018-08-26 14:11:49 -04:00
2018-09-28 19:31:59 -04:00
2018-08-05 19:46:43 -04:00
2018-10-04 23:18:46 -04:00
2018-09-06 22:08:35 -04:00
2018-10-07 14:58:53 -04:00
2018-08-26 14:11:49 -04:00
2018-08-31 18:56:57 -04:00
2018-08-26 14:11:49 -04:00
2018-08-26 14:11:49 -04:00
2018-08-26 14:11:49 -04:00
2018-09-28 19:31:59 -04:00
2018-10-07 14:58:53 -04:00