tile38/internal/server
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
..
aof.go Truncate trailing zeros from AOF at startup 2021-07-08 06:34:47 -07:00
aofmigrate.go Code cleanup 2019-10-30 10:17:59 -07:00
aofshrink.go Fixed panic on AOFSHRINK 2019-11-17 07:25:25 -07:00
atomic.go Removed unused atomics 2018-11-23 01:39:04 -07:00
atomic_test.go Replaced net package with evio 2018-10-28 15:51:47 -07:00
bson.go Replaced net package with evio 2018-10-28 15:51:47 -07:00
checksum.go Code cleanup 2019-10-30 10:17:59 -07:00
client.go Code cleanup 2019-10-30 10:17:59 -07:00
config.go Code cleanup 2019-10-30 10:17:59 -07:00
crud.go s/64/12/ 2021-07-08 06:34:15 -07:00
dev.go Code cleanup 2019-10-30 10:17:59 -07:00
expire.go Code cleanup 2019-10-30 10:17:59 -07:00
expression.go Code cleanup 2019-10-30 10:17:59 -07:00
fence.go Fix crash in fenceMatchRoam causing an index out of range panic 2021-07-08 06:33:38 -07:00
follow.go Fix a concurrent write/read on the server conn map 2020-03-20 16:47:13 -07:00
hooks.go Code cleanup 2019-10-30 10:17:59 -07:00
json.go Code cleanup 2019-10-30 10:17:59 -07:00
json_test.go Code cleanup 2019-10-30 10:17:59 -07:00
keys.go Code cleanup 2019-10-30 10:17:59 -07:00
live.go Added MONITOR command 2021-07-08 06:34:15 -07:00
monitor.go Added MONITOR command 2021-07-08 06:34:15 -07:00
output.go Code cleanup 2019-10-30 10:17:59 -07:00
pubsub.go Code cleanup 2019-10-30 10:17:59 -07:00
readonly.go Code cleanup 2019-10-30 10:17:59 -07:00
respconn.go Replaced net package with evio 2018-10-28 15:51:47 -07:00
scan.go Code cleanup 2019-10-30 10:17:59 -07:00
scanner.go Hotfix for previous commit 2021-07-08 06:34:15 -07:00
scripts.go Added MONITOR command 2021-07-08 06:34:15 -07:00
search.go Fixed a missing faraway event for roaming geofences 2020-03-22 11:54:56 -07:00
server.go Added MONITOR command 2021-07-08 06:34:15 -07:00
stats.go Code cleanup 2019-10-30 10:17:59 -07:00
stats_cpu.go Fix go vet error in stats_cpu.go for non-linux/darwin builds 2019-10-28 22:39:27 -03:00
stats_cpu_darlin.go Code cleanup 2019-10-30 10:17:59 -07:00
test.go Match geometry indexing to server config 2020-03-25 15:35:31 -07:00
token.go Limit geohash precision to 12 2021-07-08 06:34:15 -07:00
token_test.go Replaced net package with evio 2018-10-28 15:51:47 -07:00