Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

feat(security): treat negotiation succeed if server is old version #694

Merged
merged 5 commits into from
Dec 17, 2020

Conversation

levy5307
Copy link
Contributor

When you rolling_update a cluster, if the new config set enable_auth = true. The new version server will send negotiation message to the server which has old version. And it will return ERR_HANDLER_NOT_FOUND to the new version server, so the negotiation will always fail.

acelyc111
acelyc111 previously approved these changes Dec 17, 2020
neverchanje
neverchanje previously approved these changes Dec 17, 2020
src/runtime/security/client_negotiation.cpp Outdated Show resolved Hide resolved
foreverneverer
foreverneverer previously approved these changes Dec 17, 2020
@levy5307 levy5307 merged commit 67e06d2 into XiaoMi:master Dec 17, 2020
@levy5307 levy5307 deleted the fix-handle-response branch December 17, 2020 07:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants