mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdserver/*, wal/*: add Sync method
This commit is contained in:
committed by
Joe Betz
parent
91efa67cb1
commit
50517039ae
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user