Issues with TiKV Reporting to PD

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: TIKV向PD汇报问题

| username: dba远航

The manual has two statements:

  1. Each TiKV node will periodically report the node’s status information to PD.
  2. The Leader of each Raft Group will periodically report the status information of the Region to PD.
    Question: Is it the entire TiKV that periodically reports status information to PD, or does each Raft Group report it individually?
| username: 小龙虾爱大龙虾 | Original post link

It should have both.

| username: dba远航 | Original post link

It should be. I saw a sentence later: PD continuously collects information about the entire cluster through these two types of heartbeat messages and uses this information as the basis for decision-making.

| username: tony5413 | Original post link

Both have.

| username: wangccsy | Original post link

Each process should report periodically on its own.

| username: 路在何chu | Original post link

This is for mutual communication.

| username: linnana | Original post link

Similar to heartbeat detection, it is necessary to obtain the running status and roles of the corresponding components in real-time.

| username: Jellybean | Original post link

You just need to understand that they are responsible for different dimensions to make it easier to comprehend. TiKV instance-level information includes node information (total space, used space, etc.) and summary information of Region data on that node, while the information of a single Region Leader is only at the replica dimension, such as the status of the replica, storage location, start and end keys, and other detailed information.

| username: dba远航 | Original post link

Yes, that’s right.

| username: kelvin | Original post link

Both, I guess.

| username: dba远航 | Original post link

Yes, indeed.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.