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

fix applied upper bound #543

Merged
merged 1 commit into from
Apr 3, 2024
Merged

fix applied upper bound #543

merged 1 commit into from
Apr 3, 2024

Conversation

glorv
Copy link
Contributor

@glorv glorv commented Apr 1, 2024

#537 introduce the new config max_applied_unpersisted_log_limit that changes applied upper bound to min(committed, persisted + max_applied_unpersisted_log_limit), but since max_applied_unpersisted_log_limit can be changed dynamically, we can't directly use it as the upper bound of applied_to, so this PR loose the upper bound to committed.

@glorv
Copy link
Contributor Author

glorv commented Apr 1, 2024

@gengliqi @Connor1996 PTAL

Signed-off-by: glorv <glorvs@163.com>
Copy link
Member

@Connor1996 Connor1996 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Connor1996
Copy link
Member

/merge

@gengliqi gengliqi merged commit a76fb6e into tikv:master Apr 3, 2024
5 checks passed
@glorv glorv deleted the fix-applied-limit branch April 6, 2024 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants