tile38/internal
tidwall 2eb6da5f21 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.
2021-07-08 06:34:47 -07:00
..
bing Code cleanup 2019-10-30 10:17:59 -07:00
clip Fixed clip test #558 2020-05-03 09:59:49 -07:00
collection Minimize sorting of collection fields 2020-03-22 07:58:03 -07:00
deadline Code cleanup 2019-10-30 10:17:59 -07:00
endpoint Updated Kafka version 2021-07-08 06:34:15 -07:00
expire Fixed data race for hooks with ttls 2019-10-08 09:26:55 -07:00
glob Code cleanup 2019-10-30 10:17:59 -07:00
hservice Faster point in polygon / GeoJSON updates 2018-10-13 04:30:48 -07:00
log Code cleanup 2019-10-30 10:17:59 -07:00
server Truncate trailing zeros from AOF at startup 2021-07-08 06:34:47 -07:00