etcd/server/storage
caojiamingalan b9e30bf878 etcdserver: add e2e test to reproduce the incorrect hash issue when resuming scheduled compaction.
check ScheduledCompactKeyName and FinishedCompactKeyName
before writing hash to hashstore. If they do not match, then it means this compaction has once been interrupted and its hash value is invalid. In such cases, we won't write the hash values to the hashstore, and avoids the incorrect corruption alarm.

Signed-off-by: caojiamingalan <alan.c.19971111@gmail.com>
2023-06-07 19:54:09 -05:00
..
backend Merge pull request #15052 from ptabor/20221228-goimports-fix 2022-12-29 11:31:22 +01:00
datadir add missing copyright headers 2022-11-23 19:13:43 +11:00
mvcc etcdserver: add e2e test to reproduce the incorrect hash issue when resuming scheduled compaction. 2023-06-07 19:54:09 -05:00
schema Merge pull request #15915 from hexfusion/bytes 2023-05-18 10:53:42 +08:00
wal etcdserver: add failpoints walBeforeSync and walAfterSync 2023-02-08 09:08:09 +08:00
backend.go log time when open backend db took too long 2023-05-08 15:23:29 +08:00
hooks.go etcdserver: update etcdserver to use the new raft module go.etcd.io/raft/v3 2022-12-02 09:33:45 +08:00
metrics.go server: Move all functions needed for storage bootstrap to storage package 2021-08-03 13:09:15 +02:00
quota.go Applier does not depend on EtcdServer any longer. 2022-05-20 14:32:04 +02:00
storage.go Fix goimports in all existing files. Execution of ./scripts/fix.sh 2022-12-29 09:41:31 +01:00
util.go etcdserve: format the source code 2022-12-02 13:00:59 +08:00