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

fix: delete the cluster object when give up the leadership #774

Merged
merged 6 commits into from
Dec 24, 2021

Commits on Nov 26, 2021

  1. fix: delete the cluster object when give up the leadership

    In the previous implementation, the cluster object won't be removed if
    the controller gives up the leadership, which causes some error state is
    cached even if the next leader takes office, this hurts the running.
    
    In this pull request, the cluster is deleted once the leadership is
    given up, and the retry-logic will be aborted (for the cluster added in
    last term) if the context is canceld.
    
    Signed-off-by: Chao Zhang <tokers@apache.org>
    tokers committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    0b3fd04 View commit details
    Browse the repository at this point in the history
  2. fix

    Signed-off-by: Chao Zhang <tokers@apache.org>
    tokers committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    6e39f97 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2021

  1. add e2e test for fix (#800)

    nic-6443 committed Dec 16, 2021
    Configuration menu
    Copy the full SHA
    debefce View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    99fe3dd View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2021

  1. fix (#808)

    nic-6443 committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    984cde1 View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2021

  1. chore: rm v1.17 build comment

    Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
    tao12345666333 committed Dec 24, 2021
    Configuration menu
    Copy the full SHA
    cbcda7f View commit details
    Browse the repository at this point in the history