tidwall 93e3a067b7 Truncate trailing zeros from AOF at startup
This commit addresses issue #230, where an AOF file will sometimes
not load due to the file being padded with trailing zeros. It's
uncertain what is causing this corruption, but it appears to be
coming from outside of the tile38-server process. I suspect it's
due to some block store layer in Kubernetes/Docker cloud
environments.

This fix allows for Tile38 to start up by discovering the trailing
zeros while loading the AOF and safely truncating the file as to
not include the zeros in the future.
2020-10-07 09:52:32 -07:00
..
2019-10-30 10:17:59 -07:00
2019-11-17 07:25:25 -07:00
2018-10-28 15:51:47 -07:00
2018-11-23 01:39:04 -07:00
2018-10-28 15:51:47 -07:00
2019-10-30 10:17:59 -07:00
2019-10-30 10:17:59 -07:00
2019-10-30 10:17:59 -07:00
2020-08-11 18:11:06 -04:00
2019-10-30 10:17:59 -07:00
2019-10-30 10:17:59 -07:00
2019-10-30 10:17:59 -07:00
2019-10-30 10:17:59 -07:00
2019-10-30 10:17:59 -07:00
2019-10-30 10:17:59 -07:00
2019-10-30 10:17:59 -07:00
2020-08-12 12:38:52 -07:00
2020-08-12 12:38:52 -07:00
2019-10-30 10:17:59 -07:00
2019-10-30 10:17:59 -07:00
2019-10-30 10:17:59 -07:00
2018-10-28 15:51:47 -07:00
2019-10-30 10:17:59 -07:00
2020-07-04 10:35:07 -07:00
2020-08-12 12:38:52 -07:00
2020-08-12 12:38:52 -07:00
2019-10-30 10:17:59 -07:00
2019-10-30 10:17:59 -07:00
2018-10-28 15:51:47 -07:00
2020-08-12 10:58:49 -07:00