-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Task: Change TabletType MASTER to PRIMARY #7113
Comments
I think that if we just rename the field in the enum, then anyone dependent on that should not notice, since it'll still be |
There are a few edge cases where the string representation is used, specifically when json marshaling, so we'd have to check for those types of usage. |
While I personally prefer |
Ah, nice catch! I think we can use an alias in that case https://developers.google.com/protocol-buffers/docs/proto3#enum (I can't link precisely enough) |
Fixed by #8511 |
There has been discussion in the past on exactly which term to replace
master
with. Since vitess is a consensus-based system,primary
seems like the most appropriate choice (even thoughsource
is popular for replication use cases).TabletType is everywhere in the code base, so we will need to first determine the scope of this change and how to do it in a backwards compatible way.
Website docs should be updated along with code.
The text was updated successfully, but these errors were encountered: