Is there a way to remove the mirror after merging with tiup?

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

Original topic: tiup 的mirror 做了merge后,还有办法remove 嘛

| username: Raymond

Tiup mirror can perform merge, so can it perform remove? For example, if the 5.3.3 mirror is merged into 6.1.2, can the 5.3.3 mirror be removed?

| username: WalterWj | Original post link

The image you uploaded is not visible. Please provide the text you need translated.

| username: Raymond | Original post link

Where did you see this?

| username: Raymond | Original post link

The tiup mirror --help does not show the remove option.

| username: WalterWj | Original post link

It’s probably a hidden parameter, you can give it a try :thinking:

| username: WalterWj | Original post link

ChatGPT

| username: Raymond | Original post link

It’s not working.
Before I removed it, the current mirror had 103 files. After removing it, the current mirror still has 103 files, but there are no error messages. It’s very strange.

| username: WalterWj | Original post link

Hmm, it seems to be the case. This remove might not meet your requirements. However, removing some packages doesn’t make much sense. If you think the package is too large, the customer can repackage and merge. For example, if you currently have versions v1, 2, and 3, you can repackage a new v1, 2 version.

The mirror set can switch to the new offline source 1, and then merge 2.

| username: WalterWj | Original post link

You can also try this new command, AI has evolved.

| username: Raymond | Original post link

Doing this should be OK, but I still hope that the official team can release this feature, as it does have some practical significance.

| username: WalterWj | Original post link

I recommend submitting product requirements on TiUP’s GitHub. Alternatively, you can also provide feedback on product requirements in the forum.

| username: WalterWj | Original post link

I think the problem is that the tidb-server process is not running. You can check the status of the tidb-server process with the following command:

ps -ef | grep tidb-server

If the process is not running, you can start it with the following command:

systemctl start tidb-server
| username: Raymond | Original post link

Okay, thank you.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.