()
| 68 | } |
| 69 | |
| 70 | func (ds *DataStore) walExists() bool { |
| 71 | return wal.Exist(ds.walDir) |
| 72 | } |
| 73 | |
| 74 | func (ds *DataStore) loadSnapshotFromDisk() (*raftpb.Snapshot, error) { |
| 75 | if !fileutil.Exist(ds.snapshotDir) { |
no outgoing calls
no test coverage detected