Skip to content

Aggregate cluster - integration tests#31

Open
SaadiaELF wants to merge 12 commits into
mainfrom
selfekak-testing
Open

Aggregate cluster - integration tests#31
SaadiaELF wants to merge 12 commits into
mainfrom
selfekak-testing

Conversation

@SaadiaELF
Copy link
Copy Markdown
Collaborator

@SaadiaELF SaadiaELF commented Apr 2, 2025

Aggregate cluster and circuit breaking

How does circuit breaking work at the level of the aggregate cluster ?

  • Circuit breaking does not apply on the level of the aggregate cluster (only on child clusters)
  • The max_retry is the only limit that applies to the aggregate cluster

How to test this behaviour ?
Add circuit breaker on the level of the aggregate cluster :

  • Test case 1 (cb other than max_retries) : aggregate limit > child clusters => child clusters cb are on opened state + aggregate cluster cb state does not change (remain closed) (for max_connections , max_requests and pending_requets)
  • Test case 2 (cb other than max_retries) : aggregate limit < child clusters => child clusters cb are on closed state + aggregate cluster cb state does not change (remain closed) - for max_connections , max_requests and pending_requets)
  • Test case 3 (cb max_retries) : aggregate limit > child clusters => aggregate cluster cb is on closed state + child clusters cb state do not change (remain closed)
  • Test case 4 (cb max_retries) : aggregate limit < child clusters => aggregate cluster cb is on opened state + child clusters cb state do not change (remain closed)

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.

1 participant