Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: TiKV如果只存活少数节点,可以强制启动到只读状态吗?
【TiDB Usage Environment】Production\Test Environment\POC
【TiDB Version】
【Encountered Issues】
【Reproduction Path】What operations were performed that caused the issue
【Issue Phenomenon and Impact】
【TiDB Operator Version】:
【K8s Version】:
【Attachments】:
No. If only a few nodes survive and read-only mode is enabled, the data read will be inconsistent. Some regions may have lost all replicas, resulting in complete data loss.
For example, if two out of three replicas with good labels fail, the remaining one cannot be started no matter what, right?
After removing all peers located on the faulty TiKV, and adding enough TiKV nodes, the regions that lost the majority can re-elect a leader and become available again.
That means new nodes need to be added.
This topic will be automatically closed 60 days after the last reply. No new replies are allowed.