etcd/server/etcdserver
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
..
api use the more efficient strings.Builder 2023-05-19 10:44:58 +08:00
apply Fix goimports in all existing files. Execution of ./scripts/fix.sh 2022-12-29 09:41:31 +01:00
cindex Goimports: Apply automated fixing to test files as well. 2022-12-29 13:04:45 +01:00
errors Rename etcdserver/etcderrors package to etcdserver/errors. 2022-05-20 14:32:04 +02:00
txn fix review: remove if on error check 2023-04-18 10:43:13 -03:00
version Goimports: Apply automated fixing to test files as well. 2022-12-29 13:04:45 +01:00
adapters.go Rename EtcdServer.Id with EtcdServer.MemberId. 2022-05-20 14:32:04 +02:00
apply_v2.go Fix goimports in all existing files. Execution of ./scripts/fix.sh 2022-12-29 09:41:31 +01:00
bootstrap_test.go Goimports: Apply automated fixing to test files as well. 2022-12-29 13:04:45 +01:00
bootstrap.go Cleanup 2023-01-21 15:57:48 +03:00
cluster_util_test.go Goimports: Apply automated fixing to test files as well. 2022-12-29 13:04:45 +01:00
cluster_util.go chore: Use http constants to replace numbers as parameters 2023-02-20 11:53:41 +08:00
corrupt_test.go Goimports: Apply automated fixing to test files as well. 2022-12-29 13:04:45 +01:00
corrupt.go etcdserver: add e2e test to reproduce the incorrect hash issue when resuming scheduled compaction. 2023-06-07 19:54:09 -05:00
doc.go server: Move server files to 'server' directory. 2020-10-26 12:57:19 +01:00
metrics.go Apply encapsulation: Cleanup metrics reporting. 2022-05-20 14:32:04 +02:00
raft_test.go Goimports: Apply automated fixing to test files as well. 2022-12-29 13:04:45 +01:00
raft.go etcdserver: correct the old name of notifyc in comments 2023-01-27 10:02:22 +08:00
server_access_control_test.go tests(etcdserver): refactor 2022-12-16 10:09:04 +09:00
server_access_control.go server: Move server files to 'server' directory. 2020-10-26 12:57:19 +01:00
server_test.go Goimports: Apply automated fixing to test files as well. 2022-12-29 13:04:45 +01:00
server.go tests/e2e: add graceful shutdown test 2023-05-09 17:08:53 -07:00
snapshot_merge.go etcdserve: format the source code 2022-12-02 13:00:59 +08:00
util_test.go etcdserve: format the source code 2022-12-02 13:00:59 +08:00
util.go Apply encapsulation: Cleanup metrics reporting. 2022-05-20 14:32:04 +02:00
v2_server.go Rename etcdserver/etcderrors package to etcdserver/errors. 2022-05-20 14:32:04 +02:00
v3_server.go server/etcdserver: swap order of return types 2023-05-08 22:53:04 +09:00
zap_raft_test.go Goimports: Apply automated fixing to test files as well. 2022-12-29 13:04:45 +01:00
zap_raft.go etcdserver: update etcdserver to use the new raft module go.etcd.io/raft/v3 2022-12-02 09:33:45 +08:00