mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

SaveSnap and Save are called in separate goroutines now. Allow at most one WAL function being called at one time to protect internal fields and guarantee execution order. Or one possible bug is that the new cut file is started with snapshot entry instead of crc entry.