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-23.2: ttljob: introduce sql.ttl.default_select_rate_limit cluster setting, ttl_select_rate_limit storage param #115801

Merged
merged 3 commits into from Dec 8, 2023

Commits on Dec 7, 2023

  1. ttl: add SelectQueryParams, DeleteQueryParams structs

    These structs contain parameters for SelectQueryBuilder and
    DeleteQueryBuilder. The *Params structs reduce number of params
    that need to be kept in sync between the Make*QueryBuilder functions
    and the *QueryBuilder structs.
    
    Release note: None
    ecwall authored and rafiss committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    0b7e838 View commit details
    Browse the repository at this point in the history
  2. ttl: make SelectQueryBuilder, DeleteQueryBuilder params of runTTLOnQu…

    …eryBounds
    
    By creating these structs at a higher level and passing them into
    runTTLOnQueryBounds, runTTLOnQueryBounds needs fewer params to create
    these structs itself.
    
    Release note: None
    ecwall authored and rafiss committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    3c7198a View commit details
    Browse the repository at this point in the history
  3. ttljob: introduce sql.ttl.default_select_rate_limit cluster setting, …

    …ttl_select_rate_limit storage param
    
    Fixes cockroachdb#110742
    
    Release note (sql change): Add sql.ttl.default_select_rate_limit
    cluster setting and ttl_select_rate_limit table storage param
    to set TTL select rate limit. This sets the number of records per
    table per second per node that can be selected by the TTL job.
    ecwall authored and rafiss committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    9eed2f5 View commit details
    Browse the repository at this point in the history