tee

package
v0.0.0-...-a582c34 Latest Latest
Warning

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

Go to latest
Published: May 16, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTeeLogDB

func CreateTeeLogDB(cfg config.NodeHostConfig, cb config.LogDBCallback,
	dirs []string, wals []string) (raftio.ILogDB, error)

CreateTeeLogDB creates a special Tee LogDB module for testing purposes. Tee LogDB uses RocksDB and Pebble side by side, all writes and reads are issued to both so read results can be compared to detect any potential discrepancies. Assuming the RocksDB implementation as the gold standard, the Tee LogDB module helps us to find potential issues in Pebble and our LogDB implementation.

CreateTeeLogDB is provided here to allow Drummer to use the Tee LogDB.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL