HomePhabricator

db-switchover: Only configure semisync once

Description

db-switchover: Only configure semisync once

Currently if you run db-switchover --only-slave-move ... and then
db-switchover --skip-slave-move ..., semisync will be configured twice
on the new primary. This seems to be triggering some bug in mariadb, and
is anyway unnecessary. So, instead only do it once.

Bug: T288500
Change-Id: I2ae86636c864aec2cf59e9fd8845221902860181

Details

Provenance
KormatAuthored on Aug 16 2021, 1:36 PM
Parents
rOSMDdcc9e3ac2fb8: mailmap: Add mapping for my name/email address.
Branches
Unknown
Tags
Unknown
References
refs/changes/63/713263/1
ChangeId
I2ae86636c864aec2cf59e9fd8845221902860181