MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / WriteSync

Method WriteSync

consensus/wal.go:60–60  ·  view source on GitHub ↗
(WALMessage)

Source from the content-addressed store, hash-verified

58type WAL interface {
59 Write(WALMessage) error
60 WriteSync(WALMessage) error
61 FlushAndSync() error
62
63 SearchForEndHeight(height int64, options *WALSearchOptions) (rd io.ReadCloser, found bool, err error)

Callers 12

PruneStatesMethod · 0.65
AddBatchMethod · 0.65
IndexMethod · 0.65
IndexMethod · 0.65
PruneBlocksMethod · 0.65
receiveRoutineMethod · 0.65
finalizeCommitMethod · 0.65
SaveLightBlockMethod · 0.65
DeleteLightBlockMethod · 0.65
PruneMethod · 0.65
receiveRoutineMethod · 0.65
finalizeCommitMethod · 0.65

Implementers 5

byteBufferWALtest/maverick/consensus/wal_generator.
nilWALtest/maverick/consensus/wal.go
byteBufferWALconsensus/wal_generator.go
crashingWALconsensus/replay_test.go
nilWALconsensus/wal.go

Calls

no outgoing calls

Tested by

no test coverage detected