Test suite "wait_for_slaves()" doesn't check replication is running
Bug #1011380 reported by
Baron Schwartz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Triaged
|
Undecided
|
Unassigned |
Bug Description
I found that the test suite will hang indefinitely if replication is actually broken and wait_for_slaves() is called. This happens, for example, if the sandboxes are set with BINLOG_FORMAT=ROW during setup. The 12346 server will die like this:
To avoid this, we should make wait_for_slaves check if replication is running, and BAIL_OUT if not, so we stop as soon as possible after breakage, and can thus try to fix it.
tags: | added: test-failure |
Changed in percona-toolkit: | |
status: | New → Triaged |
To post a comment you must log in.
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PT-986