Skip to content

feat: add box.cfg.checkpoint_enabled to toggle snapshots on/off

Summary

  • feat: auto set box.cfg{checkpoint_enabled=false} on split-brain

Split-brain detector might be triggered by complicated online cluster upgrades (e.g. "the quorum promote patch"), so we don't want to write inconsistent state to disk.

If there's no inconsistent snapshot, the problem may go away once we restart the node with a newer version of Tarantool.

NO_DOC=internal NO_TEST=internal NO_CHANGELOG=internal

  • feat: add box.cfg.checkpoint_enabled to toggle snapshots on/off

This patch adds a new control knob to let the user temporarily disable Tarantool's ability to create snapshots. This might come in useful when performing an online cluster upgrade which is known to bring nodes into an inconsistent state, e.g. "the quorum promote patch".

Before upgrading, the user is supposed to run

box.cfg{checkpoint_enabled = false}

to temporarily disable both scheduled and manual snapshots.

NO_DOC=internal NO_TEST=internal NO_CHANGELOG=internal

Close #... Docs follow-up: not necessary / new issue

Merge request reports