1
0
Fork 0

Fix GoDoc

master
Philip O'Toole 9 months ago
parent 3558aba73b
commit 8708d51746

@ -1961,7 +1961,7 @@ func (s *Store) observe() (closeCh, doneCh chan struct{}) {
return closeCh, doneCh
}
// snapAndTruncate performs a snapshot, and then truncates the Raft log.
// Snapshot performs a snapshot, and then truncates the Raft log.
func (s *Store) Snapshot() error {
// reload the config with zero trailing logs.
cfg := s.raft.ReloadableConfig()

Loading…
Cancel
Save