remove logcompactor
lastLogIndex is the snapshot last index when log is empty
disable mapdb transactions
perf: log size is cached in-memory
lastLogIndex is the snapshot last index when log is empty & fix snapshot file name
fix snapshot write and read
snapshot test management