public static interface RaftCmdpb.SplitRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
long |
getNewPeerIds(int index)
The peer ids for the new split region.
|
int |
getNewPeerIdsCount()
The peer ids for the new split region.
|
List<Long> |
getNewPeerIdsList()
The peer ids for the new split region.
|
long |
getNewRegionId()
We split the region into two, first uses the origin
parent region id, and the second uses the new_region_id.
|
boolean |
getRightDerive()
Deprecated.
|
com.google.protobuf.ByteString |
getSplitKey()
This can be only called in internal RaftStore now.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
com.google.protobuf.ByteString getSplitKey()
This can be only called in internal RaftStore now. The split_key must be in the been splitting region.
bytes split_key = 1;
long getNewRegionId()
We split the region into two, first uses the origin parent region id, and the second uses the new_region_id. We must guarantee that the new_region_id is global unique.
uint64 new_region_id = 2;
List<Long> getNewPeerIdsList()
The peer ids for the new split region.
repeated uint64 new_peer_ids = 3;
int getNewPeerIdsCount()
The peer ids for the new split region.
repeated uint64 new_peer_ids = 3;
long getNewPeerIds(int index)
The peer ids for the new split region.
repeated uint64 new_peer_ids = 3;
index
- The index of the element to return.@Deprecated boolean getRightDerive()
If true, right region derive the origin region_id, left region use new_region_id. Will be ignored in batch split, use `BatchSplitRequest::right_derive` instead.
bool right_derive = 4 [deprecated = true];
Copyright © 2024 PingCAP. All rights reserved.