etcdserver/*, wal/*: add Sync method

This commit is contained in:
Viacheslav Biriukov
2019-01-08 17:15:30 +00:00
committed by Joe Betz
parent 91efa67cb1
commit 50517039ae
5 changed files with 23 additions and 1 deletions

View File

@@ -52,4 +52,9 @@ func (p *storageRecorder) Release(st raftpb.Snapshot) error {
return nil
}
func (p *storageRecorder) Sync() error {
p.Record(testutil.Action{Name: "Sync"})
return nil
}
func (p *storageRecorder) Close() error { return nil }