-
Notifications
You must be signed in to change notification settings - Fork 3.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
rpc: RPC versions #2719
Comments
@bdarnell is this something we need for beta? |
Yes. It doesn't need to be fancy; we just need to send "version 1" in our request headers and reject any request that doesn't say "version 1". We don't expect to change this version often (most changes will be backwards-compatible changes to our existing protobufs) but if we do make a fundamental change we should have a way to make sure that old servers don't misinterpret messages from new ones. (same for the on-disk version of this issue, which isn't assigned to me and I'm having a hard time finding it) |
This ensures that all gossip RPCs will now be required to contain a version number to prevent different versions of cockroach gossiping to each other. Part of cockroachdb#2719
This ensures that all gossip RPCs will now be required to contain a version number to prevent different versions of cockroach gossiping to each other. Part of cockroachdb#2719
@BramGruneir is this issue done? |
Sorry, somehow I didn't see this or I would have replied earlier. No, and the plan right now is to not add the feature until its needed. I was trying to rush to get it in before beta, but after some pushback, it was determined that until we require the versioning, we should leave it as it. |
Communicate and verify version numbers between hosts for the RPC subsystem framing protocol.
The text was updated successfully, but these errors were encountered: