Skip to content

use config version to trigger replication configuration instead of state Replicated

Georgy Moshkin requested to merge gmoshkin/replication-config-version into master

Summary

  • fix: master is now promoted when configuring the replication

  • chore: don't send lsn in response to proc_replication

Nobody cares about the lsn

  • fix: don't promote any replicas when configuring replication in the middle of master switchover

  • fix: Replicated is no longer a possible state

  • feat: use config version to trigger replication configuration

  • fix: used to computed parenthesis depth incorrectly in pico.raft_log

  • fix: used to panic in pico.raft_log sometimes

  • feat: also bump target vshard config version in update instance

  • refactor: allow multiple additional dmls when updating instance from governor

  • feat: bump replicaset target_config_version in update instance

  • refactor: add [current|target]_config_version columns to _pico_replicaset

Not used yet

  • feat: proc_update_instance now uses Dml::Update instead of Dml::Replace

It's called proc_update_instance, not proc_replace_instance, duh!

  • refactor: don't use String as error type

  • chore: cleanup code formatting


Edited by Yaroslav Dynnikov

Merge request reports