Lightning 5.4 Import Failure

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

Original topic: lightning5.4导入失败

| username: TiDBer_zfadduuq

【TiDB Usage Environment】Production\Test Environment\POC
【TiDB Version】5.3
【Encountered Issue】
No issues when using tidb-lightning 5.0 for import, but errors occur as shown in the image when using versions 5.4 and 6.1.
【Reproduction Path】
【Issue Phenomenon and Impact】
【Attachments】

  • Relevant logs, configuration files, Grafana monitoring (https://metricstool.pingcap.com/)
  • TiUP Cluster Display information
  • TiUP Cluster Edit config information
  • TiDB-Overview monitoring
  • Corresponding module Grafana monitoring (if any, such as BR, TiDB-binlog, TiCDC, etc.)
  • Corresponding module logs (including logs from 1 hour before and after the issue)

If the question is related to performance optimization or troubleshooting, please download the script and run it. Please select all and copy-paste the terminal output.

| username: Cabbager | Original post link

Because lightning 5.3 introduced a new feature

The issue here is that a large number of empty regions were found during the pre-check
https://docs.pingcap.com/https://asktug.com/t/topic/694652zh/tidb/v5.3/tidb-lightning-prechecks#:~:text=存储是否足够。-,Region%20分布状态,->%3D%205.3.0

| username: BraveChen | Original post link

Check this monitoring to confirm the number of empty regions. You can adjust the speed of region merge. After the empty regions are merged, try again!

| username: TiDBer_zfadduuq | Original post link

The second URL returned a 404 error. Could you please resend it?

| username: TiDBer_zfadduuq | Original post link

Okay. I’ll have the operations team take a look.

| username: Cabbager | Original post link

It’s this picture.

| username: HACK | Original post link

There are too many empty regions. Check if your region merge is enabled.

| username: TiDBer_zfadduuq | Original post link

Resolved, thank you.

| username: system | Original post link

This topic was automatically closed 1 minute after the last reply. No new replies are allowed.