mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
wal: better comment
This commit is contained in:
parent
8e0ee1cc5e
commit
cec1956b8f
@ -60,7 +60,7 @@ type WAL struct {
|
|||||||
decoder *decoder // decoder to decode records
|
decoder *decoder // decoder to decode records
|
||||||
|
|
||||||
f *os.File // underlay file opened for appending, sync
|
f *os.File // underlay file opened for appending, sync
|
||||||
seq int64 // current sequence of the wal file to be written
|
seq int64 // the sequence of the current writting wal file
|
||||||
enti int64 // index of the last entry that has been saved to wal
|
enti int64 // index of the last entry that has been saved to wal
|
||||||
encoder *encoder // encoder to encode records
|
encoder *encoder // encoder to encode records
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user