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

p-dml: fail pipelined dml when max ttl exceeded #1329

Merged
merged 2 commits into from
Apr 30, 2024

Conversation

you06
Copy link
Contributor

@you06 you06 commented Apr 30, 2024

ref tikv/tikv#16291

Once the ttl manager is automatically closed after max ttl. And the PK may be rolled back after it, stop the ttl manager and fail the dml to avoid committing PK failure.

Without this PR, the worst case is p-dml cannot be aware of PK rollback, and keep flushing locks which block GC for a long time.

@you06 you06 requested review from cfzjywxk and ekexium April 30, 2024 09:11
@ekexium ekexium merged commit 6cb0704 into tikv:master Apr 30, 2024
10 checks passed
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