Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
txn: Add txn_heart_beat API #5407
What have you changed?
Please explain in detail what the changes are in this PR and why they are needed:
This PR adds txn_heart_beat API to TiKV. This feature is required for supporting Large Transaction.
txn_heart_beat API should be invoked on primary lock on a transaction and try to enlarge the lock's TTL to the specified value.
What is the type of the changes?
How is the PR tested?
By unit tests. It's better that we do some further tests.
Does this PR affect documentation (docs) or should it be mentioned in the release notes?
Does this PR affect