How to Decommission Drainer After Pausing

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

Original topic: drainer暂停后如何下线

| username: 刘亚欣1

[TiDB Usage Environment] Production Environment
[TiDB Version]
[Reproduction Path]
Start drainer;
Pause drainer;

Take drainer offline;
[Encountered Problem: Problem Phenomenon and Impact]
Failed to take drainer offline using binlogctl, error reported.
Offline command:
/data/binlogctl -pd-urls=http://basic-pd.XXX:2379 -cmd offline-drainer -node-id tidb-binlog-drainer-0:8249
Error reported:

[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]

| username: db_user | Original post link

Your drainer is in a paused state and cannot receive the offline information at this time. You should start the drainer first, and then proceed with the offline operation.

| username: yulei7633 | Original post link

After stopping, you can go offline.

| username: system | Original post link

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