Ping Yu

Results 90 comments of Ping Yu

This method was added after `0.3.0`, and the next version is not determined yet. To use this method, by now you can specify master or 6f9c13333fb4a3be97a04aa0f59c9971e312cba0.

The issue of handling `get_members` of PD was fixed by #452. We should not encounter the situation that `leader` is `None` anymore. @cre4ture Could you help with some testing to...

> > The issue of handling `get_members` of PD was fixed by #452. We should not encounter the situation that `leader` is `None` anymore. > > @cre4ture Could you help...

> What is the cause of the error There was another transaction with start timestamp of `conflict_ts` and commit timestamp of `conflict_commit_ts` modified data after current transaction started. > After...

What's the version of TiKV & client-rust ? Which scan you are using, Txn or Raw ? Please show the codes about how client-rust is used.

It seems that [`scan_inner`](https://github.com/tikv/client-rust/blob/7c78aadf44ca401237fcd1670576ff87223122ec/src/raw/client.rs#L748) is not handling the gRPC error properly. Similar to #419.

It should not. Pessimistic transactions will acquire the lock of keys before prewrite. Once the locks are acquired, other transactions (try to lock these keys as well) are blocked.