Why Does TiDB Lightning Pre-check the Number of Empty Regions?

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

Original topic: TiDB Lightning 前置检查为什么检查空region的数量

| username: Raymond

May I ask why lightning needs to check the number of empty regions during the pre-check? What is the purpose of doing this?

| username: WalterWj | Original post link

Too many empty regions affect performance, right? I understand.