tikv / client-c

The C++ TiKV client used by TiFlash.
Apache License 2.0
40 stars 48 forks source link

Remove key range check before set api_version #153

Closed yongman closed 1 year ago

yongman commented 1 year ago

When the keyspace is tombstoned, the request will fail because this keyspace range may be merged with other key mode regions, such as api_v1 or rawkv, resulting to api_v2 key request with api_v1 specified in request context.

JaySon-Huang commented 1 year ago

Example: a Region with "start_key": "7200AFCD00000000FB" and "end_key": "7800000674800000FF00000000545F7200FE".

yongman commented 1 year ago

/cc @gengliqi