-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
fix(clustering): report node version in sync #13844
Conversation
9546acb
to
af1f6b8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does not seems to be the right approach, it should ideally be done as part of "RPC handshake method change" work, as node version will not change between calls.
d11e6f5
to
0a9f335
Compare
@dndx I have changed the implementation, could you take a look again? thanks. |
+1. Please consider redesign the solution |
This seems to be going to be covered by a new change. Are we going to close this? |
8630f2c
to
edc253a
Compare
This PR is re-implemented to work with meta rpc call. |
@dndx , could you take a look and approve it? thanks. |
self.client_info[node_id] = { | ||
ip = ngx_var.remote_addr, | ||
version = info.kong_version, | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should _handle_meta_call
also assert(self.concentrator)
? In case self.client_info
is not set.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added.
a0ca6be
to
6f3890f
Compare
Successfully created cherry-pick PR for |
Summary
May change after KAG-5369 and #13887
KAG-5772
Checklist
changelog/unreleased/kong
orskip-changelog
label added on PR if changelog is unnecessary. README.mdIssue reference
Fix #[issue number]