Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More robust waiting for the quiescent state in partition balancer tests #6007

Merged
merged 6 commits into from
Aug 15, 2022

Commits on Aug 13, 2022

  1. tests/partition_balancer: more robust wait for quiescent state

    Because unavailability timer resets every time the controller leader
    changes, robustly waiting for the timer to elapse is hard. Instead we
    simply wait until the unavailable node appears in the "violations"
    status field.
    ztlpn committed Aug 13, 2022
    Configuration menu
    Copy the full SHA
    ce4a809 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    514f818 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0946f39 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    220c958 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2022

  1. Configuration menu
    Copy the full SHA
    a8f56b5 View commit details
    Browse the repository at this point in the history
  2. tests/partition_balancer: more robust wait_until_status

    Previously, when the controller leader node was suspended during the
    test all status requests would fail with the timed-out error.
    This was true for all nodes, not just the suspended one (because we
    proxy the status request to the controller leader), so internal retries
    in the admin API wrapper didn't help. We increase the timeout and add
    504 to retriable status codes so that internal retries can handle this
    situation.
    ztlpn committed Aug 14, 2022
    Configuration menu
    Copy the full SHA
    dc83a7b View commit details
    Browse the repository at this point in the history