Skip to content

Conversation

@mkuratczyk
Copy link
Contributor

  1. If khepri_db is enabled, rabbitmq_metadata is a critical component
  2. When waiting for quorum+1, periodically log what doesn't have the quorum+1
    • for components: just list them
    • for queues: list how many we are waiting for and how to display them (because there could be a large number, logging that could be impractical or even dangerous)
  3. make the tests signficantly faster by using a single group

@michaelklishin michaelklishin changed the title Await quorum+1 improvements rabbitmq-upgrade await_quorum_plus_one improvements Aug 24, 2024
mkuratczyk and others added 2 commits August 24, 2024 18:49
1. If khepri_db is enabled, rabbitmq_metadata is a critical component
2. When waiting for quorum+1, periodically log what doesn't have the
   quorum+1
   - for components: just list them
   - for queues: list how many we are waiting for and how to display
     them (because there could be a large number, logging that
     could be impractical or even dangerous)
3. make the tests signficantly faster by using a single group
Now the API endpoint can return Khepri as
a "queue" (or "stream") without the necessary
number of replicas online.

So don't expect the list to only have one element.
@michaelklishin michaelklishin merged commit b819638 into main Aug 25, 2024
@michaelklishin michaelklishin deleted the await-quorum-logging branch August 25, 2024 03:02
mergify bot pushed a commit that referenced this pull request Aug 25, 2024
(cherry picked from commit f47daee)
michaelklishin added a commit that referenced this pull request Aug 25, 2024
rabbitmq-upgrade await_quorum_plus_one improvements (backport #12113)
mergify bot pushed a commit that referenced this pull request Aug 25, 2024
(cherry picked from commit f47daee)
(cherry picked from commit bb57273)
michaelklishin added a commit that referenced this pull request Aug 25, 2024
rabbitmq-upgrade await_quorum_plus_one improvements (backport #12113) (backport #12116)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants