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.
Click to show internal directories.
Click to hide internal directories.