mirror of https://github.com/tidwall/tile38.git
93e3a067b7
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. |
||
---|---|---|
.. | ||
bing | ||
clip | ||
collection | ||
deadline | ||
endpoint | ||
expire | ||
glob | ||
hservice | ||
log | ||
server |