batchPut will hung if the entries in the map are in different region

Is it true if the entries in same batch are in different region?

Exception in thread “main” org.tikv.common.exception.TiKVException: TimeOut Exceeded for current operation.
at org.tikv.common.util.ClientUtils.getTasks(ClientUtils.java:181)
at org.tikv.raw.RawKVClient.doSendBatchPut(RawKVClient.java:756)
at org.tikv.raw.RawKVClient.batchPut(RawKVClient.java:260)
at org.tikv.raw.RawKVClient.batchPut(RawKVClient.java:243)

Code:
map.clear();
pair = createFileEntryKey(1000, “first_batch1”, 150);
map.put(org.tikv.shade.com.google.protobuf.ByteString.copyFrom(
pair.getFirst().toByteArray()),
org.tikv.shade.com.google.protobuf.ByteString.copyFrom(
pair.getSecond().toByteArray()));
pair = createFileEntryKey(800000, “second_batch2”, 1600);
map.put(org.tikv.shade.com.google.protobuf.ByteString.copyFrom(
pair.getFirst().toByteArray()),
org.tikv.shade.com.google.protobuf.ByteString.copyFrom(
pair.getSecond().toByteArray()));
tiKVStoreMetaRaw.putEntryBatchAtomic(map);

Is it true if the entries in same batch are in different region?

No, it should not.

Please show a minimal reproducible example, including version of TiKV and client-java, cluster configuration, etc.