Merge pull request #16586 from redwrasse/sshah/store-cmt-cleanup

mvcc: cleanup comment in HashStorage.Store
This commit is contained in:
Benjamin Wang 2023-09-12 08:39:30 +01:00 committed by GitHub
commit f25f131f36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,7 +97,7 @@ type HashStorage interface {
// HashByRev computes the hash of all MVCC revisions up to a given revision.
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)
// Hashes returns list of up to `hashStorageMaxSize` newest previously stored hashes.