Get desktop application:
View/edit binary Protocol Buffers messages
Used in:
Used in:
Used in:
The region ID who triggers the check and wait for report. It should be the ID of RaftMessage.from.
The region ID to be checked if should be destroyed.
The epoch of the region to be checked.
The peer to be checked.
Used as response type in: tikvpb.Tikv.BatchRaft, tikvpb.Tikv.Raft, tikvpb.Tikv.Snapshot
(message has no fields)
Used in:
It's merge related index. In `WantRollbackMerge`, it's prepare merge index. In `MsgGcPeerRequest`, it's the commit merge index. In `MsgVoterReplicatedIndexRequest` it's the voter_replicated_index.
In `MsgCheckStalePeerResponse`, it's the peers that receiver can continue to query.
Flag for forcely wake up hibernate regions if true.
Used by `MsgAvailabilityRequest` and `MsgAvailabilityResponse` in v2.
notice the peer to refresh buckets version
snap_gen_precheck_passed is used to indicate the precheck result when a follower responds to a leader's snapshot gen precheck request.
Used in:
If leader is going to sleep, it will send requests to all its followers to make sure they all agree to sleep.
Message means that `from` is tombstone. Leader can then update removed_records.
Messages for the snapshot gen precheck process.
Used in transfer leader process for leader to inform follower to load the region into in-memory engine if the relevant region is cached.
Used in transfer leader process for follower to inform leader the completes of the region cache
Used in:
Used in:
,Used in:
Used in:
,Peers of source region when merge is committed.
Removed peers (by confchange) of source region when merge is committed.
Commit merge index.
Prepare merge index.
Used in:
Currently used for witness to non-witness conversion: When a witness has just become a non-witness, we need to set and persist this state, so that when the service restarts before applying snapshot, we can actively request snapshot when initializing this peer.
Used in:
, , ,Used in:
,Used as request type in: tikvpb.Tikv.Raft
Used as field type in:
, ,true means to_peer is a tombstone peer and it should remove itself.
Region key range [start_key, end_key).
If it has value, to_peer should be removed if merge is never going to complete.
Used in:
Used in:
Used in:
, , ,The apply index corresponding to the storage when it's initialized.
Raft doesn't guarantee peer will be removed in the end. In v1, peer finds out its destiny by logs or broadcast; in v2, leader is responsible to ensure removed peers are destroyed. Note: only peers who has been part of this region can be in this list.
Merged peer can't be deleted like gc peers. Instead, leader needs to query target peer to decide whether source peer can be destroyed.
Used in:
Used as request type in: tikvpb.Tikv.Snapshot
Used in:
true means this snapshot is triggered for load balance
true means this is an empty snapshot for witness
the timestamp second to generate snapshot
the duration of generating snapshot
the path of the tablet snapshot, it should only be used for v1 to receive snapshot from v2
A hint of the latest commit index on leader when sending snapshot. It should only be used for v2 to send snapshot to v1. See https://github.com/pingcap/tiflash/issues/7568
Used for TiKV start recovery when WAL of KVDB was disabled. TiKV may read all relations between seqno and raft log index, and replay all raft logs which corresponding seqno smaller than the seqno here. After TiKV replays all raft logs and flushed KV data, the seqno here must be updated.
Used in:
Checksum of all data sent in `TabletSnapshotFileChunk.data` and `TabletSnapshotFileChunk.file_name`.
Used in:
Encrypted.
Initial vector if encryption is enabled.
Used in:
Some block data. Unencrypted.
trailing data including checksum. Unencrypted.
Used in:
Snapshot preview for server to decide whether skip some files. Server should send back an `AcceptedSnapshotFile` to let client keep sending specified files. Only SST files can be skipped, all other files should always be sent.
Used in:
There may be too many metas, use a flag to indicate all metas are sent.
Used as request type in: tikvpb.Tikv.TabletSnapshot
Used as response type in: tikvpb.Tikv.TabletSnapshot