Jeremy Leach cc1e245368 etcdserver: fix corruption check when server has just been compacted
When a key-value store corruption check happens immediately after a
compaction, the revision at which the key-value store hash is computed,
is the compacted revision itself.
In that case, the hash computation logic was incorrect because it
returned an ErrCompacted error; this error should instead be returned when
the revision at which the key-value store is hashed, is strictly lower
than the compacted revision.

Fixes #14325

Signed-off-by: Jeremy Leach <44558776+jbml@users.noreply.github.com>
2022-09-24 22:20:26 +10:00
..
2021-10-29 12:47:19 +02:00
2022-06-17 10:23:03 +02:00
2022-06-17 10:23:03 +02:00
2020-10-26 13:02:32 +01:00
2021-07-28 11:39:54 +08:00
2020-10-26 13:02:32 +01:00