Skip to content

fix applied upper bound#543

Merged
gengliqi merged 1 commit into
tikv:masterfrom
glorv:fix-applied-limit
Apr 3, 2024
Merged

fix applied upper bound#543
gengliqi merged 1 commit into
tikv:masterfrom
glorv:fix-applied-limit

Conversation

@glorv

@glorv glorv commented Apr 1, 2024

Copy link
Copy Markdown
Contributor

#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

glorv commented Apr 1, 2024

Copy link
Copy Markdown
Contributor Author

@gengliqi @Connor1996 PTAL

@glorv glorv force-pushed the fix-applied-limit branch from 95c4bb2 to fa716a0 Compare April 1, 2024 07:03

@Connor1996 Connor1996 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@Connor1996

Copy link
Copy Markdown
Member

/merge

@gengliqi gengliqi merged commit a76fb6e into tikv:master Apr 3, 2024
@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