Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Better semi-sync analysis #1171

Merged
merged 9 commits into from
May 20, 2020
Merged

Better semi-sync analysis #1171

merged 9 commits into from
May 20, 2020

Conversation

shlomi-noach
Copy link
Collaborator

orchestrator to probe and collect more granular semi-sync variables/status, including:

  • rpl_semi_sync_master_enabled
  • rpl_semi_sync_master_timeout
  • rpl_semi_sync_master_wait_for_slave_count
  • rpl_semi_sync_slave_enabled
  • Rpl_semi_sync_master_status
  • Rpl_semi_sync_slave_status

previously, we only collected:

  • Rpl_semi_sync_master_status
  • Rpl_semi_sync_slave_status

and treated them as *_enabled. We now differentiate between the configuration expecting semi-sync to be enabled, and the actual operational status.

Added two structure analysis types:

  • NoValidSemiSyncReplicasStructureWarning, when master expects semi-sync but no valid semi-sync replicas found
  • NotEnoughValidSemiSyncReplicasStructureWarning, when master expects semi sync but less than that number of valid semi-sync replicas found.

Added integration tests.

@shlomi-noach shlomi-noach merged commit 0ce8c59 into master May 20, 2020
@shlomi-noach shlomi-noach deleted the analysis-semi-sync branch May 20, 2020 09:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant