Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

etcdserve: revert the etcdserver side change for the data loss in one node cluster #14505

Merged
merged 1 commit into from
Sep 22, 2022

Conversation

ahrtr
Copy link
Member

@ahrtr ahrtr commented Sep 22, 2022

Since the raft side change #14413 has been merged, so we need to revert the etcdserver side change #14400.

Signed-off-by: Benjamin Wang [email protected]

Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.

cc @serathius @spzala

… node cluster

Since the raft side change has been merged, so we need to revert the etcdserver
side change.
Refer to
  etcd-io#14413
  etcd-io#14400

Signed-off-by: Benjamin Wang <[email protected]>
@codecov-commenter
Copy link

Codecov Report

Merging #14505 (9097e61) into main (997260a) will decrease coverage by 0.26%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main   #14505      +/-   ##
==========================================
- Coverage   75.45%   75.19%   -0.27%     
==========================================
  Files         457      457              
  Lines       37283    37262      -21     
==========================================
- Hits        28133    28020     -113     
- Misses       7390     7467      +77     
- Partials     1760     1775      +15     
Flag Coverage Δ
all 75.19% <0.00%> (-0.27%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
server/etcdserver/raft.go 88.63% <0.00%> (+0.33%) ⬆️
server/etcdserver/api/membership/store.go 50.00% <0.00%> (-10.00%) ⬇️
client/pkg/v3/fileutil/purge.go 66.03% <0.00%> (-7.55%) ⬇️
client/v3/leasing/util.go 91.66% <0.00%> (-6.67%) ⬇️
api/v3rpc/rpctypes/error.go 84.61% <0.00%> (-5.87%) ⬇️
client/v3/concurrency/session.go 88.63% <0.00%> (-4.55%) ⬇️
server/storage/mvcc/watchable_store.go 84.42% <0.00%> (-4.35%) ⬇️
server/proxy/grpcproxy/watch.go 92.48% <0.00%> (-4.05%) ⬇️
client/v3/leasing/cache.go 87.77% <0.00%> (-3.89%) ⬇️
server/etcdserver/cluster_util.go 70.35% <0.00%> (-3.17%) ⬇️
... and 19 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Member

@serathius serathius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you verified that durability issue cannot be reproduced? Please check out #14398 which I used to reproduce and validate the fix.

@ahrtr
Copy link
Member Author

ahrtr commented Sep 22, 2022

Yes, already confirmed the issue can't be reproduced using steps in #14370 (comment)

@ahrtr ahrtr merged commit ea3d78f into etcd-io:main Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants