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

naming: master to primary #8251

Merged
merged 3 commits into from
Jun 7, 2021
Merged

Conversation

deepthi
Copy link
Member

@deepthi deepthi commented Jun 3, 2021

Description

Rename funcs on mysqld, add new funcs on tabletmanager and deprecate old funcs.
These changes are purely internal right now, the new RPCs have not yet been exposed. That will be a separate PR.

Related Issue(s)

#7114

Checklist

  • Tests were added or are not required
  • Documentation was added or is not required

Deployment Notes

…precate old funcs

Signed-off-by: deepthi <deepthi@planetscale.com>
Signed-off-by: deepthi <deepthi@planetscale.com>
// MasterPosition returns the current master replication position.
func (c *Conn) MasterPosition() (Position, error) {
gtidSet, err := c.flavor.masterGTIDSet(c)
// PrimaryPosition returns the current master replication position.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: change the comment as well?

Signed-off-by: deepthi <deepthi@planetscale.com>
@deepthi deepthi merged commit 34394a2 into vitessio:main Jun 7, 2021
@deepthi deepthi deleted the ds-master-to-primary1 branch June 7, 2021 23:32
@deepthi deepthi added this to In progress in Inclusive Naming Changes via automation Aug 6, 2021
@deepthi deepthi moved this from In progress to Done in Inclusive Naming Changes Aug 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants