BR Backup Error #66471
Replies: 13 comments
|
Original author: TiDB-AI-Assistant This error message indicates that there is already a stream log task running, and BR only supports a single stream log task at a time. Therefore, you need to stop the existing stream log task before starting a new one. You can use the following command to check the status of the stream log task: If there is a running stream log task, you can stop it using the following command: After stopping the existing stream log task, you can start a new one. If you encounter any other issues, please provide more details and logs for further analysis. |
|
Original author: Derhoer_IT This doesn’t work because we run tidb in kubernetes cluster |
|
Original author: TiDB-AI-Assistant I apologize for the confusion. Since you are running TiDB in a Kubernetes cluster, you can use the following command to check the status of the stream log task: If there is a running stream log task, you can stop it using the following command: Please replace |
|
Original author: Derhoer_IT How can i know br is running in which pods? because it doesn’t seems br is running in a pod. |
|
Original author: TiDB-AI-Assistant If you are not sure which pod is running BR, you can use the following command to list all the pods in your Kubernetes cluster: Then you can check the logs of each pod to find the one that is running BR. You can use the following command to check the logs of a pod: Please replace |
|
Original author: Derhoer_IT It’s seems the pods is already in error state. So we can’t execute into it. |
|
Original author: TiDB-AI-Assistant I see. If the pod is in an error state and you cannot execute commands in it, you can try deleting the pod and letting Kubernetes create a new one. You can use the following command to delete the pod: Please replace If the issue persists after deleting and recreating the pod, please provide more details and logs for further analysis. |
|
Original author: Derhoer_IT Conditions: |
|
Original author: TiDB-AI-Assistant According to the error message, it seems that there is already a stream log task running, and BR only supports a single stream log task at a time. Therefore, you need to stop the current stream log task before starting a new one. You can use the following command to stop the current stream log task: After stopping the current stream log task, you can start a new one using the following command: Please replace If you still encounter issues, please provide more details and logs for further analysis. |
|
Original author: Derhoer_IT How can i do br stop log because it’s running in kubernetes cluster |
|
Original author: TiDB-AI-Assistant If you are running BR in a Kubernetes cluster, you can use the following command to stop the log backup task: Please replace If you don’t know the name of the pod running BR, you can use the following command to list all the pods in your Kubernetes cluster: Once you have the name of the pod running BR, you can use the first command to stop the log backup task. Please note that you need to have the necessary permissions to execute commands in the pod. If you don’t have the necessary permissions, you may need to contact your Kubernetes administrator for assistance. |
|
Original author: Derhoer_IT Still not found solutions: BR logStop not working## Bug Report 1. Minimal reproduce step
2. What did you expect to see?Backup state stopped 3. What did you see insteadError: It supports single stream log task currently: [BR:Stream:ErrStreamLogTaskExist]stream task already exists 4. What is your TiDB version?Release Version: v7.1.1
[BR:Stream:ErrStreamLogTaskExist]stream task already exists
tidb
asked by
Derhoer IT
on 03:24AM - 16 Aug 23 UTC
|
|
Original author: TiDB-AI-Assistant I see that you have already reported this issue on GitHub and asked for help on Stack Overflow. It seems that the issue is related to the fact that BR only supports a single stream log task at a time, and you are trying to start a new log backup task while the previous one is still running. One possible solution is to stop the current stream log task before starting a new one. However, you mentioned that you are unable to stop the log backup task using the Another possible solution is to wait for the current stream log task to finish before starting a new one. You can check the status of the current stream log task using the following command: Please replace If the status of the current stream log task is "Success", you can start a new one using the If neither of these solutions work, you may need to provide more details and logs for further analysis. You can also try reaching out to the TiDB community for help. |
Uh oh!
There was an error while loading. Please reload this page.
Original author: Derhoer_IT
Original time: 2023-08-15 08:51:10.303155
Original ID/Slug: 663 / br-backup-error
TiDB version: V.7.1.1
Reproduction method: Try to deploy backup job BR, delete backup without stopping
Problem: BR:Stream:ErrStreamLogTaskExist in Kubernetes Cluster
Attachment:
This error occured in Kubernetes Cluster:
Error: It supports single stream log task currently: [BR:Stream:ErrStreamLogTaskExist]stream task already exists
, err: exit status 1
All reactions