client-go icon indicating copy to clipboard operation
client-go copied to clipboard

Go client for TiKV

Results 276 client-go issues
Sort by recently updated
recently updated
newest added

Ref: https://github.com/tikv/tikv/issues/12362 As the `CommitDetails` is changed and it's directly used in the tidb code, this is a breaking change. - Separate the prewrite and commit related details in `execDetail`....

This PR aims unify `CodecPDClient` and `CodecPDClientV2` by introducing a `Codec` interface.

Requires: https://github.com/tikv/tikv/pull/12749 This PR adapts to the new behavior of acquire_pessimistic_lock requests in the PR above. This PR is experimental and still under development.

[KeySpace](https://github.com/tikv/rfcs/blob/master/text/0069-api-v2.md) is fundamental for transaction safety and multi-tenant features for TiKV. This is the tracking issue for the feature in client-go. For tracking issues of other components, check: * TiKV:...

**1. current process** Currently, TiKV locks the specified keys for pessimistic lock requests whether it exists or not. TiDB sends a get request to judge whether the keys exists on...

ref #529 This is the client side implementation. The PD side change is https://github.com/tikv/pd/pull/5375.

ref: pingcap/tidb#36579 I suppose it is unnecessary to encode flags in `memBufferMutations`, and `CommitterMutationFlags` could be removed. We can just read from the mem buffer for flags. But for simplicity,...

When many regions are cached in memory, searchCachedRegion becomes slower and holds RegionCache global read lock for longer time, and then makes other queries who load new regions wait for...

Add size and keys count metric for memdb