mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
mvcc: cleanup comment in HashStorage.Store
Signed-off-by: redwrasse <mail@redwrasse.io>
This commit is contained in:
parent
9c8ad8ed72
commit
b79cbcc3db
@ -97,7 +97,7 @@ type HashStorage interface {
|
|||||||
// HashByRev computes the hash of all MVCC revisions up to a given revision.
|
// HashByRev computes the hash of all MVCC revisions up to a given revision.
|
||||||
HashByRev(rev int64) (hash KeyValueHash, currentRev int64, err error)
|
HashByRev(rev int64) (hash KeyValueHash, currentRev int64, err error)
|
||||||
|
|
||||||
// Store adds hash value in local cache, allowing it can be returned by HashByRev.
|
// Store adds hash value in local cache, allowing it to be returned by HashByRev.
|
||||||
Store(valueHash KeyValueHash)
|
Store(valueHash KeyValueHash)
|
||||||
|
|
||||||
// Hashes returns list of up to `hashStorageMaxSize` newest previously stored hashes.
|
// Hashes returns list of up to `hashStorageMaxSize` newest previously stored hashes.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user