-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Lines 279 to 282 in 2b3f358
if kv.ModRevision > ks.Version { | |
ks.Version = kv.ModRevision | |
ks.Stats.ValueSize = len(kv.Value) | |
} |
Key version increases on every update key, but revision increases on any key modification (including delete). So when key is updated the modrevision it's set will always be greater than version. Also it seems weird to compare version and modrevision as they are different types of counters.
Metadata
Metadata
Assignees
Labels
No labels