Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WrapFilterForReplayProtection ¶
func WrapFilterForReplayProtection( filter kvserverbase.ReplicaCommandFilter, ) kvserverbase.ReplicaCommandFilter
WrapFilterForReplayProtection wraps a filter into another one that adds Raft replay protection.
Types ¶
type ReplayProtectionFilterWrapper ¶
type ReplayProtectionFilterWrapper struct { syncutil.Mutex // contains filtered or unexported fields }
ReplayProtectionFilterWrapper wraps a CommandFilter and assures protection from Raft replays.
Click to show internal directories.
Click to hide internal directories.