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

release-21.1: sql/gcjob: retry failed GC jobs #65962

Merged

Commits on Jun 1, 2021

  1. sql/gcjob: retry failed GC jobs

    In the previous implementation, failed GC jobs were not being retried
    regardless whether the failure is permanent or transient. As a
    result, a GC job's failure risked orphaned data, which cannot be
    reclaimed.
    
    This commit adds a mechanism to retry failed GC jobs that are not
    permanent. No limit is set on the number of retries. For the time
    being, the failure type is determined based on the failure
    categorization of schema-change jobs. This behavior is expected to
    change once exponential backoff mechanism is implemented for failed
    jobs (cockroachdb#44594).
    
    Release note: None
    
    Fixes: cockroachdb#65000
    Sajjad Rizvi committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    d156958 View commit details
    Browse the repository at this point in the history