cockroach: github.com/cockroachdb/cockroach/pkg/testutils/storageutils Index | Files

package storageutils

import "github.com/cockroachdb/cockroach/pkg/testutils/storageutils"

Index

Package Files

mocking.go

func WrapFilterForReplayProtection Uses

func WrapFilterForReplayProtection(
    filter storagebase.ReplicaCommandFilter,
) storagebase.ReplicaCommandFilter

WrapFilterForReplayProtection wraps a filter into another one that adds Raft replay protection.

type ReplayProtectionFilterWrapper Uses

type ReplayProtectionFilterWrapper struct {
    syncutil.Mutex
    // contains filtered or unexported fields
}

ReplayProtectionFilterWrapper wraps a CommandFilter and assures protection from Raft replays.

Package storageutils imports 5 packages (graph) and is imported by 1 packages. Updated 2019-07-06. Refresh now. Tools for package owners.