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

TiKV API V2 Testing Tracking issue

Open iosmanthus opened this issue 2 years ago • 4 comments

This issue is a tracking issue of the TiKV API V2 feature of client-java.

For now, the API version is attached to request contexts and the key prefix is also prepended according to the API version: https://github.com/tikv/client-java/pull/575. The rest of the work is working on the test for the feature:

  • [x] Test framework of checking the API/TTL config of a TiKV cluster.
  • [ ] A CI matrix with dimensions of API version and TTL mode.
  • [ ] Test that runs only with a specific API/TTL config. (using the Assume guard, e.g. Assume.assumeTrue(getServerApiVersion().isV1() && getServerTTLEnabled()))
  • [ ] Tests cover the API compatible matrix: https://github.com/pingyu/tikv-rfcs/blob/rfc_api_v2_pd/text/0069-api-v2.md#tikv-client

iosmanthus avatar Mar 29 '22 10:03 iosmanthus

@iosmanthus When use this client to get table(partion table) data,client return nothing with set tableId.But with partion id,worked normally.

GOODBOY008 avatar Apr 01 '22 08:04 GOODBOY008

If you are using client-java to read TiDB table, please use V1 instead.

iosmanthus avatar Apr 01 '22 08:04 iosmanthus

If you are using client-java to read TiDB table, please use V1 instead.

I also want to capture real-time data changes of table in project flink-cdc-connectors.

GOODBOY008 avatar Apr 01 '22 09:04 GOODBOY008

This issue is stale because it has been open 30 days with no activity.

github-actions[bot] avatar May 02 '22 00:05 github-actions[bot]