tikv / tikv/client-rust

Give the user more control over lock resolution

Open
#208 0 comments 0 reactions 1 assignee View on GitHub

@nrc is already working on this.

Since Dec 10, 2020.

enhancement
Dominant language
Rust
Stars
425
Forks
163
Avg merge
10h 51m
Merged PRs (30d)
3

Description

Currently, we automatically resolve locks and retry (without bumping the start ts which would be unsound). This is ok as a default, but it would be nice to also allow the user to have more control, i.e., returning an error with the locks and providing a resolve_locks function.

I have started implementing this, but I'm not sure what the API should look like - i.e., how does the user opt-in to auto-retry? There are also lots of details in the retry code to work out.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.