Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: tidb创建tiflash副本一直卡着不动
[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version] v7.1
It has been stuck while creating a replica for two days.
Deployment Situation
Three machines with 8 cores and 32GB RAM
Remaining Resources
Previously, it got stuck once and the reason was found to be that the disk utilization reached 0.8, making it impossible to create a replica. Later, the disk was expanded, and now the disk utilization is 0.5.
What is the situation with a disconnect?
Are there any indications in the FiFlash logs?
There are a lot of things on 205. Which one did you add your flash to?
How large is the database? It’s been stuck for two days. Let’s start over.
Three machines, one node each.
200 million records. How to delete them? After I set the replica count to 0 and then reset it to 2, it still doesn’t work.
Remove all TiFlash instances, so there are no Flash instances left, and then add new Flash instances. Is that what you mean?
Shrink all the nodes first. Then add new nodes.
Is there such a protection mechanism, so it’s working fine now, right?