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

Support configuration of slave replication delay in mysql_replication. #56767

Open
wants to merge 1 commit into
base: devel
from

Conversation

Projects
None yet
4 participants
@danderson
Copy link

commented May 22, 2019

SUMMARY

MySQL replication supports "lagged" replicas, where the replica applies mutations received from the primary only after a configurable delay.

This change enables Ansible's mysql_replication module to configure such a delayed replica, using the new master_delay parameter.

Fixes #51326

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

mysql_replication

@ansibot

This comment has been minimized.

@mattclay

This comment has been minimized.

Copy link
Member

commented May 23, 2019

bot_status

@ansibot

This comment has been minimized.

Copy link
Contributor

commented May 23, 2019

The test ansible-test sanity --test validate-modules [explain] failed with 1 error:

lib/ansible/modules/database/mysql/mysql_replication.py:0:0: E309 version_added for new option (master_delay) should be '2.9'. Currently StrictVersion ('2.8')

click here for bot help

@ansibot

This comment has been minimized.

Copy link
Contributor

commented May 23, 2019

Components

lib/ansible/modules/database/mysql/mysql_replication.py
support: community
maintainers: Xyon banyek bmalynovytch bmildren michaelcoburn oneiroi tolland

Metadata

waiting_on: danderson
changes_requested_by: null
needs_info: False
needs_revision: True
needs_rebase: False
merge_commits: []
too many files or commits: False
mergeable_state: unstable
shippable_status: failure
maintainer_shipits (module maintainers): False
community_shipits (namespace maintainers): False
ansible_shipits (core team members): False
shipit_actors (maintainer or core team member): None
shipit_actors_other:
automerge: automerge shipit test failed

click here for bot help

@ansibot ansibot removed the needs_triage label May 23, 2019

@danderson danderson force-pushed the danderson:mysql-lagged-replica branch from 59f3fc4 to d23b4dd May 23, 2019

@danderson

This comment has been minimized.

Copy link
Author

commented May 24, 2019

Fixed annotation, checks happy, PTAL.

@bmalynovytch

This comment has been minimized.

Copy link
Contributor

commented May 27, 2019

LGTM

shipit

@ansibot

This comment has been minimized.

Copy link
Contributor

commented Jun 4, 2019

@ansibot ansibot added the stale_ci label Jun 4, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.