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

raftstore: gc abnormal snapshots and destroy peer if failed to apply snapshots. #16992

Merged
merged 27 commits into from
Jun 14, 2024

Commits on May 10, 2024

  1. raftstore: gc abnormal snapshots and destroy peer if failed to apply …

    …a snapshot.
    
    Signed-off-by: lucasliang <nkcs_lykx@hotmail.com>
    LykxSassinator committed May 10, 2024
    Configuration menu
    Copy the full SHA
    d786f8a View commit details
    Browse the repository at this point in the history
  2. Add logs.

    Signed-off-by: lucasliang <nkcs_lykx@hotmail.com>
    LykxSassinator committed May 10, 2024
    Configuration menu
    Copy the full SHA
    963bcb5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6623dfa View commit details
    Browse the repository at this point in the history

Commits on May 14, 2024

  1. Replace ForceDestroyPeer with Applied {..}

    Signed-off-by: lucasliang <nkcs_lykx@hotmail.com>
    LykxSassinator committed May 14, 2024
    Configuration menu
    Copy the full SHA
    271310a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ea31ab2 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2024

  1. Refactor the gc peer with ConfChange request.

    Signed-off-by: lucasliang <nkcs_lykx@hotmail.com>
    LykxSassinator committed May 20, 2024
    Configuration menu
    Copy the full SHA
    4145971 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6a86c6a View commit details
    Browse the repository at this point in the history

Commits on May 22, 2024

  1. Configuration menu
    Copy the full SHA
    bfce864 View commit details
    Browse the repository at this point in the history
  2. Polish codes and supply extra ut.

    Signed-off-by: lucasliang <nkcs_lykx@hotmail.com>
    LykxSassinator committed May 22, 2024
    Configuration menu
    Copy the full SHA
    3441299 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4a4fa89 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2024

  1. Configuration menu
    Copy the full SHA
    b34a49f View commit details
    Browse the repository at this point in the history

Commits on May 27, 2024

  1. Configuration menu
    Copy the full SHA
    5227de6 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2024

  1. Configuration menu
    Copy the full SHA
    2e006dd View commit details
    Browse the repository at this point in the history

Commits on May 29, 2024

  1. Polish codes and address comments.

    Signed-off-by: lucasliang <nkcs_lykx@hotmail.com>
    LykxSassinator committed May 29, 2024
    Configuration menu
    Copy the full SHA
    7e981aa View commit details
    Browse the repository at this point in the history

Commits on May 31, 2024

  1. Configuration menu
    Copy the full SHA
    a5a3cec View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2024

  1. Configuration menu
    Copy the full SHA
    5ca18d3 View commit details
    Browse the repository at this point in the history
  2. Addd extra unavailable flag to CheckPeerAvailableResponse.

    Mark `unavailable == true` if the abnormal peer failed to apply snapshot and
    could not be normarlly removed by ConfChange.
    
    Signed-off-by: lucasliang <nkcs_lykx@hotmail.com>
    LykxSassinator committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    cad382d View commit details
    Browse the repository at this point in the history
  3. Revert "Addd extra unavailable flag to CheckPeerAvailableResponse."

    This reverts commit cad382d.
    
    Signed-off-by: lucasliang <nkcs_lykx@hotmail.com>
    LykxSassinator committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    cabb4b4 View commit details
    Browse the repository at this point in the history
  4. Polish annotations.

    Signed-off-by: lucasliang <nkcs_lykx@hotmail.com>
    LykxSassinator committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    6a67d17 View commit details
    Browse the repository at this point in the history
  5. Polish codes and add extra uts.

    Signed-off-by: lucasliang <nkcs_lykx@hotmail.com>
    LykxSassinator committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    cc692c8 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. Merge branch 'master' into clear_if_apply_snap_failed

    Signed-off-by: lucasliang <nkcs_lykx@hotmail.com>
    LykxSassinator committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    e0644fe View commit details
    Browse the repository at this point in the history
  2. Refactor the implementation.

    Signed-off-by: lucasliang <nkcs_lykx@hotmail.com>
    LykxSassinator committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    26d806e View commit details
    Browse the repository at this point in the history
  3. Remove unnecessary deny.

    Signed-off-by: lucasliang <nkcs_lykx@hotmail.com>
    LykxSassinator committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    2af7c17 View commit details
    Browse the repository at this point in the history
  4. Polish codes.

    Signed-off-by: lucasliang <nkcs_lykx@hotmail.com>
    LykxSassinator committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    05c7866 View commit details
    Browse the repository at this point in the history
  5. Address comments.

    Signed-off-by: lucasliang <nkcs_lykx@hotmail.com>
    LykxSassinator committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    eb4a447 View commit details
    Browse the repository at this point in the history
  6. Address comments.

    Signed-off-by: lucasliang <nkcs_lykx@hotmail.com>
    LykxSassinator committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    4930e8c View commit details
    Browse the repository at this point in the history
  7. Polish codes.

    Signed-off-by: lucasliang <nkcs_lykx@hotmail.com>
    LykxSassinator committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    b284ee3 View commit details
    Browse the repository at this point in the history