Is it possible for the leader of a region to be completely randomly generated, and what is the principle behind the random number generation here?

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

Original topic: region的leader有可能是完全随机产生的,这里的随机数生成的原理是什么?

| username: alfred

【TiDB Usage Environment】Production, Testing, Research
【TiDB Version】
【Encountered Problem】
【Reproduction Path】What operations were performed that led to the problem
【Problem Phenomenon and Impact】

【Attachments】

Please provide the version information of each component, such as cdc/tikv, which can be obtained by executing cdc version/tikv-server --version.

| username: xfworld | Original post link

Standard implementation of the Raft protocol

You can read the following documents to help understand:

| username: alfred | Original post link

It is indeed very helpful, thank you.

| username: system | Original post link

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