Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: tiup cluster prune xxx 没用报错了
[TiDB Usage Environment] Production Environment
[TiDB Version]
[Reproduction Path] After scaling down, tiup cluster prune xxx
[Encountered Problem: Phenomenon and Impact] Error occurred
[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]
Check the tiup cluster prune -h
command.
Check if it’s a permissions issue:
Check the operating system logs on 37 to see if there are any errors.
Check if the TiKV user and exporter user of the tombstone node are consistent with the user you use for remote execution with TiUP.
SELinux is blocking it, it is recommended to disable SELinux.
setenforce 0 and what else
Run getenforce
first to see if it is Disabled.
It’s useless, but magically, restarting the computer fixed it.
Modifying SELinux requires a reboot of the host.