Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
RidRisR committed Nov 12, 2024
1 parent 21e686b commit 1c333ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion en/backup-to-aws-s3-using-br.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,11 +237,12 @@ The logSubcommand field in the Backup CR allows you to control the status of a l
• log-pause: This command temporarily pauses an active log backup task. The task can be resumed later using the log-start command.

• log-stop: This command permanently stops the log backup task. When this command is issued, the Backup CR enters a stopped state and cannot be restarted.

These commands allow fine-grained control over the lifecycle of log backup tasks, enabling start, pause, resume, and stop operations to manage log data retention in a Kubernetes environment.

<Tip>
In v1.5.5 and earlier TiDB Operator versions, you could use the logStop: true/false field to stop or start a task. This field is retained for backward compatibility.

However, you must not mix logStop with logSubcommand in the same YAML file. Doing so is unsupported, and using logStop is not recommended in later versions. Stick to logSubcommand for better clarity and consistency.
</Tip>

Expand Down
1 change: 1 addition & 0 deletions zh/backup-to-aws-s3-using-br.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ Backup 自定义资源(CR)中的 logSubcommand 字段允许你控制日志
<Tip>
在 v1.5.5 及更早版本的 TiDB Operator 中,可以使用 logStop: true/false 字段来停止或启动任务。此字段为了向后兼容而保留。
但请勿在同一个 YAML 文件中混用 logStop 和 logSubcommand,这属于不支持的用法。在较新版本中,不推荐使用 logStop,建议使用 logSubcommand 以确保配置清晰且一致。
</Tip>
Expand Down

0 comments on commit 1c333ce

Please sign in to comment.