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) #8887

Merged

Commits on May 6, 2023

  1. gc (ticdc): Instead of keeping restarting error changefeed in 24 hour…

    …s, 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 authored and ti-chi-bot committed May 6, 2023
    Configuration menu
    Copy the full SHA
    4e5ef14 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    455681d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    edfaae5 View commit details
    Browse the repository at this point in the history
  4. fix integration test

    charleszheng44 authored and ti-chi-bot committed May 6, 2023
    Configuration menu
    Copy the full SHA
    86544a3 View commit details
    Browse the repository at this point in the history