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

Method WalFile

config/config.go:1029–1034  ·  view source on GitHub ↗

WalFile returns the full path to the write-ahead log file

()

Source from the content-addressed store, hash-verified

1027
1028// WalFile returns the full path to the write-ahead log file
1029func (cfg *ConsensusConfig) WalFile() string {
1030 if cfg.walFile != "" {
1031 return cfg.walFile
1032 }
1033 return rootify(cfg.WalPath, cfg.RootDir)
1034}
1035
1036// SetWalFile sets the path to the write-ahead log file
1037func (cfg *ConsensusConfig) SetWalFile(walFile string) {

Callers 13

OnStartMethod · 0.80
loadWalFileMethod · 0.80
RunReplayFileFunction · 0.80
copyWALFunction · 0.80
randConsensusNetFunction · 0.80
TestReactorWithEvidenceFunction · 0.80
OnStartMethod · 0.80
loadWalFileMethod · 0.80
crashWALandCheckLivenessFunction · 0.80

Calls 1

rootifyFunction · 0.85

Tested by 6

randConsensusNetFunction · 0.64
TestReactorWithEvidenceFunction · 0.64
crashWALandCheckLivenessFunction · 0.64