cockroach: github.com/abhinavdahiya/cockroach/testutils/storageutils Index | Files

package storageutils

import "github.com/abhinavdahiya/cockroach/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 {
    sync.Mutex
    // contains filtered or unexported fields
}

ReplayProtectionFilterWrapper wraps a CommandFilter and assures protection from Raft replays.

Package storageutils imports 3 packages (graph). Updated 2017-03-13. Refresh now. Tools for package owners. This is a dead-end fork (no commits since the fork).