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

Several improvement related to Aurora #3515

Merged
merged 4 commits into from
Jul 8, 2021
Merged

Several improvement related to Aurora #3515

merged 4 commits into from
Jul 8, 2021

Conversation

renecannao
Copy link
Contributor

@renecannao renecannao commented Jul 8, 2021

Solve various issues.

a) it handles also replicas where REPLICA_LAG_IN_MILLISECONDS == 0
b) ignore decommissioned or renamed nodes, see #3484
c) during a failover, the former writer (still reporting MASTER_SESSION_ID) is not considered a writer if it is not the last updated
d) increases the amount of entries stored in mysql_server_aws_aurora_log from 50 to 150 snapshots (more history)

This PR also removed unused code

The new query now handles also replicas where REPLICA_LAG_IN_MILLISECONDS == 0 .
This commit also add comments to track the changes in this query.
This commits solves 2 issues:
1. ignore decommissioned or renamed nodes, see #3484
2. during a failover, the former writer (still reporting MASTER_SESSION_ID) is not considered a writer if it is not the last updated
@renecannao
Copy link
Contributor Author

retest this please

@renecannao
Copy link
Contributor Author

retest this please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant