Skip to content
Snippets Groups Projects

fix bug in expel replicaset

Merged Georgy Moshkin requested to merge gmoshkin/fix-expel-replicaset into gmoshkin/expel-force

Summary

  • fix: replicaset expel didn't work when master changed target state

Close #1114 (closed)

  • test: cleanup: use Cluster.wait_has_states for checking instance state

  • test: cleanup expelling in tests

  • test: cleanup stuff related to figuring out leader and expelled instances

Instance info is cluster-wide information. You never need to call .instance_info on every single instance, they all have the same information. You only need to connect to a single instance to get all the info about the cluster (except for some runtime information, which is the rare case).

  • test: cleanup some deprecated lua code

  • test: cleanup naming in test_join_replicaset_after_expel


  • Cherry-pick to: none
  • Docs follow-up: not necessary
  • Changelog is updated

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading