You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we find a transaction try to insert into a region with more than 100000 items, it will do split the region to avoid too much write workload into a single region:
I think we should send the split-request to PD since PD will only apply one operator to a region each time, which will help use to avoid the issue(tikv/tikv#12410) caused by two operators run on the same region concurrently.
The text was updated successfully, but these errors were encountered:
When we find a transaction try to insert into a region with more than 100000 items, it will do split the region to avoid too much write workload into a single region:
client-go/txnkv/transaction/2pc.go
Lines 866 to 877 in e30a3e6
However, here we send split request to TiKV.
client-go/tikv/split_region.go
Lines 144 to 149 in e30a3e6
I think we should send the split-request to PD since PD will only apply one operator to a region each time, which will help use to avoid the issue(tikv/tikv#12410) caused by two operators run on the same region concurrently.
The text was updated successfully, but these errors were encountered: