Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Add some support for running gh-ost in `MINIMAL` RBR setups #843
Conversation
Partially addresses #230. Add a new flag, `--switch-to-rbr-full`. If this flag is set, and `--assume-rbr` is **not** passed, gh-ost will first set binlog format to `ROW` if it is not already (this is existing behavior), but then _also_ sets the binlog row image to `FULL` if it is not already (this is the new behavior) before restarting replication. Mirroring the way gh-ost handles changing binary logging from SBR to RBR, gh-ost will _not_ reset the row image to `MINIMAL` under any circumstance.
Related issue: #230
Description
Adds some support for running gh-ost in
MINIMALRBR setupsPartially addresses #230.
Changes:
Add a new flag,
--switch-to-full-rbr. If this flag is set, and--assume-rbris not passed, gh-ost will first set binlog format toROWif it is not already (this is existing behavior), but then also sets the binlog row image toFULLif it is not already (this is the new behavior) before restarting replication.Mirroring the way gh-ost handles changing binary logging from SBR to RBR, gh-ost will not reset the row image to
MINIMALunder any circumstance.script/cibuildreturns with no formatting errors, build errors or unit test errors.