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

gc (ticdc): optimize the algorithm calculating gc safepoint #8464

Merged
merged 4 commits into from
May 5, 2023

Commits on May 4, 2023

  1. gc (ticdc): Instead of keeping restarting error changefeed in 24 hours,

    put the error changefeed into failed state and calculate the ticdc global
    gc safepoint based on checkpoint ts of all changefeeds and give users 24
    hours grace period to handle the failed changefeed.
    
    e.g.,
    
    Have two ChangeFeeds,
    cf1(failed) with checkpointTs ts1
    cf2(normal) with checkpointTs ts2
    
    the global gc safepoint will be:
    min(ts2, max(ts1, currentPDTs - 24 hours))
    charleszheng44 committed May 4, 2023
    Configuration menu
    Copy the full SHA
    7c3bd11 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6af064b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6f50c78 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2023

  1. fix integration test

    charleszheng44 committed May 5, 2023
    Configuration menu
    Copy the full SHA
    81009ed View commit details
    Browse the repository at this point in the history