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

Automated cherry pick of #10218 #10468 on release 3.3 #11378

Conversation

jingyih
Copy link
Contributor

@jingyih jingyih commented Nov 21, 2019

Cherry pick of #10218 #10468 on release-3.3.

#10218: etcdserver: Remove infinite loop in doSerialize
#10468: etcdserver: remove auth validation loop

Fixes #11377

horkhe and others added 3 commits November 20, 2019 16:45
Once chk(ai) fails with auth.ErrAuthOldRevision it will always do,
regardless how many times you retry. So the error is better be returned
to fail the pending request and make the client re-authenticate.
Remove auth validation loop in v3_server.raftRequest(). Re-validation
when error ErrAuthOldRevision occurs should be handled on client side.
Disable TestV3AuthOldRevConcurrent for now. See
etcd-io#10468 (comment)
@jingyih jingyih changed the title Automated cherry pick of #10218 #10468 Automated cherry pick of #10218 #10468 on release 3.3 Nov 21, 2019
@jingyih jingyih closed this Dec 18, 2019
@jingyih jingyih deleted the automated-cherry-pick-of-#10218-#10468-upstream-release-3.3 branch December 18, 2019 00:07
@davissp14
Copy link
Contributor

davissp14 commented Jan 20, 2020

Hey @jingyih, could you provide some context on why this wasn't merged?

@jingyih jingyih restored the automated-cherry-pick-of-#10218-#10468-upstream-release-3.3 branch January 21, 2020 14:30
@jingyih jingyih reopened this Jan 21, 2020
@jingyih
Copy link
Contributor Author

jingyih commented Jan 21, 2020

Hey @jingyih, could you provide some context on why this wasn't merged?

My guess is that I accidentally deleted the branch which caused this PR to be closed.

@jingyih
Copy link
Contributor Author

jingyih commented Jan 21, 2020

@gyuho @mitake Could you please take a look?

@cjquinon
Copy link

Hi @jingyih @gyuho @mitake . Wanted to check in on this.

We have some production workloads on 3.3 that are impacted by this issue. Any way we can merge this in and create a new 3.3 patch?

@mitake
Copy link
Contributor

mitake commented Jan 25, 2020

@jingyih sorry for my late reply. LGTM, thanks! I'm merging this, the test case TestBalancerUnderNetworkPartitionWatchFollower seems to be failed because of timing issue.

@mitake mitake merged commit 70853d6 into etcd-io:release-3.3 Jan 25, 2020
@jingyih jingyih deleted the automated-cherry-pick-of-#10218-#10468-upstream-release-3.3 branch January 27, 2020 09:17
@cjquinon
Copy link

Hi @mitake @jingyih - is it possible to create a new patch on 3.3 with this fix (e.g, 3.3.19)? We have some production workloads impacted by this issue.

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.

5 participants