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

Check for tserver failure in balance loop after some iterations #5070

Open
wants to merge 4 commits into
base: 2.1
Choose a base branch
from

Commits on Nov 15, 2024

  1. Check for tserver failure in balance loop after some iterations

    The StatusThread.balanceTablets method could loop indefinitely
    in some cases, like when a TabletServer dies but is the target
    of a current migration. The status of the TabletServers is
    checked before this method is invoked and never updated. Created
    a new property to indicate how many iterations should pass before
    the Tablet Server status is re-checked.
    dlmarion committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    5117b4d View commit details
    Browse the repository at this point in the history
  2. Code modifications

    Modified code such that only migrations for the current data level
    would be considered and to only recheck tablet server status for
    the root and metadata levels. Balancing of tablets returned for
    non-current data level will be processed in their data level.
    dlmarion committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    88c333f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    57192fe View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2024

  1. Update log message

    dlmarion committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    967e0cd View commit details
    Browse the repository at this point in the history