storage: close Replica.mu.snapshotChan when replica is destroyed #7806
Labels
S-1-stability
Severe stability issues that can be fixed by upgrading, but usually don’t resolve by restarting
Milestone
There appears to be no cleanup of
Replica.mu.snapshotChan
when a replica is destroyed. This can leave the snapshot goroutine started inReplica.Snapshot
dangling for a minute (defaultAsyncSnapshotMaxAge
) as nothing comes along to consume the snapshot. Alternately, perhapssnapshotChan
should be buffered.The text was updated successfully, but these errors were encountered: