Questions about TiFlash Learner Identity

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

Original topic: TiFlash learner身份疑问

| username: atidat

The official documentation states: The Learner role only exists briefly during the intermediate steps of adding replicas; 术语表 | PingCAP 文档中心

I have a question here: When TiFlash joins the Raft Group, does its role start as Learner and then switch to Follower in a steady state?

Additionally, is there any documentation/blog or source code file that explains how TiFlash joins the Raft Group (I couldn’t find where Listener is added through the tikv source code)?

| username: ShawnYan | Original post link

This refers to the region in TiKV, while TiFlash will always exist in the learner role, only synchronizing data.

| username: ShawnYan | Original post link

I suggest searching here: TiDB 社区搜索

| username: TiDBer_iLonNMYE | Original post link

TiKV uses row format, TiFlash uses column format, and the identity will not switch to Follower after reaching a steady state.

| username: alfred | Original post link

When synchronizing to TiFlash, it always acts as a learner.