package
2.1.7+incompatible
Repository: https://github.com/matrixorigin/dragonboat.git
Documentation: pkg.go.dev

# Packages

Package gorocksdb provides the ability to create and access RocksDB databases.
Package levigo provides the ability to create and access LevelDB databases.

# Functions

NewKey creates and returns a new PooledKey instance.
NewLogReader creates and returns a new LogReader instance.
OpenLogDB opens a LogDB instance using the default implementation.
OpenShardedRDB creates a ShardedRDB instance.

# Constants

LogDBType is the logdb type name.
RDBPatched defines Whether rocksdb is dragonboat patched.

# Variables

RDBContextValueSize defines the size of byte array managed in RDB context.

# Structs

LogReader is the struct used to manage logs that have already been persisted into LogDB.
PooledKey represents keys that are managed by a sync.Pool to be reused.
RDB is the struct used to manage rocksdb backed persistent Log stores.
ShardedRDB is a LogDB implementation using sharded rocksdb instances.

# Interfaces

IKvStore is the interface used by the RDB struct to access the underlying Key-Value store.
IWriteBatch is the interface representing a write batch capable of atomically writing many key-value pairs to the key-value store.