-
Couldn't load subscription status.
- Fork 139
Closed
Description
There is a bug in the client where the ttls are not properly sharded for RawBatchPuts. This essentially means that if the batch is spread across multiple regions, the ttls for the batch specific to the shard is not properly aligned. This is an issue when the request ends up in the TiKV node specific to the region and fails because of the misalignment of the Vec with its corresponding Vec. This results in TiKV panicking with "The length of ttls does not equal to the length of pairs". The fix was to change the sharding logic for RawBatchPutRequest so that the TTLs are aligned with the KvPair.
Here's the PR with the fix: #457
Metadata
Metadata
Assignees
Labels
No labels