【 使用环境 】 测试环境
【 OB or 其他组件 】ocp ob
【 使用版本 】
3.1
【问题描述】清晰明确描述问题
备份的磁盘路径已经设置好,只是通过ocp发起备份的审核提示 error code [1235]; message [(conn=205207) start log archive backup when not STOP is not supported
不知是否是有其他参数需要设置?
手动发起archivelog命令就是会报这个错误
MySQL [oceanbase]> ALTER SYSTEM ARCHIVELOG;
ERROR 1235 (0A000): start log archive backup when not STOP is not supported
【复现路径】问题出现前后相关操作
【问题现象及影响】
【附件日志】
日志如下
2022-08-29 10:11:09.366 ERROR 142 — [pool-subtask-executor-thread-39,cc45bfa90d2b4414,f65ff83f569f] c.a.o.c.obsdk.connector.ConnectTemplate : [obsdk] execute failed, sql:[alter system archivelog], error message:[StatementCallback; SQL [alter system archivelog]; (conn=205207) start log archive backup when not STOP is not supported; nested exception is java.sql.SQLFeatureNotSupportedException: (conn=205207) start log archive backup when not STOP is not supported]
2022-08-29 10:11:09.368 ERROR 142 — [pool-subtask-executor-thread-39,cc45bfa90d2b4414,f65ff83f569f] c.o.o.b.i.o.PhysicalBackupObOpsService : SQL [alter system archivelog]; SQL state [0A000]; error code [1235]; message [(conn=205207) start log archive backup when not STOP is not supported]
2022-08-29 10:11:09.369 INFO 142 — [pool-subtask-executor-thread-39,cc45bfa90d2b4414,f65ff83f569f] c.a.o.c.m.t.model.SubtaskInstanceEntity : Set state for subtask: 1650312, current state: RUNNING, new state: FAILED
2022-08-29 10:11:09.371 WARN 142 — [pool-subtask-executor-thread-39,cc45bfa90d2b4414,f65ff83f569f] c.a.o.c.t.engine.runner.RunnerFactory : Execute task failed, subtask=SubtaskInstanceEntity{id=1650312, name=Start log backup if necessary, state=FAILED, operation=EXECUTE, className=com.oceanbase.ocp.backup.internal.task.schedule.StartLogBackupTask, seriesId=1, startTime=2022-08-29T10:11:09.265+08:00, endTime=2022-08-29T10:11:09.370+08:00}, failedMessage=Failed to start log backup. Error message: (conn=205207) start log archive backup when not STOP is not supported.
com.alipay.ocp.core.exception.UnexpectedException: [OCP UnexpectedException]: status=500 INTERNAL_SERVER_ERROR, errorCode=BACKUP_START_LOG_BACKUP_FAILED, args=(conn=205207) start log archive backup when not STOP is not supported
20
at com.oceanbase.ocp.backup.internal.operation.PhysicalBackupObOpsService.startLogBackup(PhysicalBackupObOpsService.java:419) ~[ocp-backup-service-3.2.3-20220426.jar!/:3.2.3-20220426]
at com.oceanbase.ocp.backup.internal.operation.PhysicalBackupObOpsService.startLogBackup(PhysicalBackupObOpsService.java:400)