Crate risingwave_hummock_trace

Source

ModulesΒ§

collector πŸ”’
error πŸ”’
opts πŸ”’
read πŸ”’
record πŸ”’
replay πŸ”’
write πŸ”’

StructsΒ§

BincodeDeserializer
Decodes bincode format serialized data
HummockReplay
MayTraceSpan
Record
TraceReaderImpl
TraceSpan
TraceSpan traces hummock operations. It marks the beginning of an operation and the end when the span is dropped. So, please make sure the span live long enough. Underscore binding like let _ = span will drop the span immediately.
TracedBitmap
TracedBytes
TracedEpochPair
TracedInitOptions
TracedNewLocalOptions
TracedPrefetchOptions
TracedReadOptions
TracedSealCurrentEpochOptions
TracedSubResp
TracedTableId
TracedTableOption
TracedTryWaitEpochOptions
UniqueIdGenerator

EnumsΒ§

Operation
Operations represents Hummock operations
OperationResult
StorageType
TraceError
TraceResult
TraceResult discards Error and only traces whether succeeded or not. Use Option rather than Result because it’s overhead to serialize Error.
TracedCachePolicy
TracedCachePriority
TracedHummockReadEpoch
TracedOpConsistencyLevel

ConstantsΒ§

USE_TRACE

StaticsΒ§

CONCURRENT_ID
LOCAL_ID

TraitsΒ§

Deserializer
Deserializer decodes a record from memory
GlobalReplay
LocalReplay
LocalReplayRead
ReplayRead
ReplayStateStore
ReplayWrite
TraceReader
UniqueId

FunctionsΒ§

hummock_trace_scope
init_collector
Initialize the GLOBAL_COLLECTOR with configured log file
should_use_trace
Returns whether trace should be used based on the environment variable

Type AliasesΒ§

ConcurrentId
ConcurrentIdGenerator
LocalStorageId
RecordId
RecordIdGenerator
RecordMsg
ReplayItem
Result
TracedHummockEpoch
TracedIterRange

Trait AliasesΒ§

ReplayItemStream