client-rust
client-rust copied to clipboard
Rust Client for TiKV.
we mark a tikv as offline status by sending a pd api for delete the store, its a normal opreation as shrinking tikv nodes. Then, we kill the tikv process...
The go client provides a Staging feature that allows layered caching to be enabled in transactions. Is this feature available in the rust client? If not, is it possible to...
[valgrindbak.log](https://github.com/user-attachments/files/19820553/valgrindbak.log) this is my db bench valgrind analyze result. i need put 10 million custom record data to tikv for query loadtest. And I've identified a memory leak issue in...
Doesn't TiKV acquire a lock on the key in pessimistic transactions? Why would a write conflict error still occur?
As stated in the title
What is the cause of the error "PessimisticLock error: MultipleKeyErrors([KeyError(KeyError { locked: None, retryable: "Error(Txn(Error(Mvcc(Error(WriteConflict"..."? After this error occurs, does it mean the entire transaction was not executed, and the...
Hey! I'm looking for an alternative to rocksdb's [get_for_update](https://docs.rs/rocksdb/latest/rocksdb/struct.Transaction.html#method.get_for_update) method. My goal is to basically implement an RwLock between transactions. In rocksdb, AFAIU I can use `get_for_update` with `exclusive =...
In the current implementation, the Client has only one TiKVConnect for each TiKV, which is essentially a single tonic::Channel underneath, meaning there's only one TCP connection. I made a simple...
Hi, I have bene trying to call: ``` cargo run --example raw -- --pd "[endpoint]" --ca ca.crt --cert tls.cert --key tls.key ``` But getting: "PD cluster failed to response". However,...
I have a program that runs periodically which makes a single call to the TransactionClient `gc` function. Around half of the time it enters some loop which prints thousands of...