Documentation ¶
Index ¶
Constants ¶
View Source
const ( GroupC uint32 = iota + 10 GroupUC GroupPrepare GroupCatalog )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver interface { GetCheckpointed() uint64 Checkpoint(indexes []*Index) (LogEntry, error) RangeCheckpoint(start, end uint64) (e LogEntry, err error) AppendEntry(uint32, LogEntry) (uint64, error) LoadEntry(groupID uint32, lsn uint64) (LogEntry, error) GetCurrSeqNum() uint64 GetPenddingCnt() uint64 Replay(handle store.ApplyHandle) error Start() Close() error }
func NewDriverWithBatchStore ¶ added in v0.6.0
func NewDriverWithBatchStore(dir, name string, cfg *DriverConfig) Driver
func NewDriverWithLogservice ¶ added in v0.6.0
func NewDriverWithLogservice(factory logservicedriver.LogServiceClientFactory) Driver
type DriverConfig ¶ added in v0.6.0
type DriverConfig struct { BatchStoreConfig *batchstoredriver.StoreCfg CheckpointDuration time.Duration }
type ReplayObserver ¶
Click to show internal directories.
Click to hide internal directories.