storageutils

package
Version: v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WrapFilterForReplayProtection

func WrapFilterForReplayProtection(
	filter storagebase.ReplicaCommandFilter,
) storagebase.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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL