【 使用版本 】v3.1.4
【问题描述】清晰明确描述问题
【问题现象及影响】
2023-04-28 10:05:04.849 ERROR 344 — [pool-manual-subtask-executor6,6df97dcbba174ed6,f208dbfefbfb] c.o.o.b.i.o.PhysicalBackupObOpsService : SQL [alter system archivelog]; SQL state [0A000]; error code [1235]; message [(conn=84582) start log archive backup when not STOP is not supported]
14
15
2023-04-28 10:05:04.850 INFO 344 — [pool-manual-subtask-executor6,6df97dcbba174ed6,f208dbfefbfb] c.a.o.c.m.t.model.SubtaskInstanceEntity : Set state for subtask: 5695833, current state: RUNNING, new state: FAILED
16
17
2023-04-28 10:05:04.852 WARN 344 — [pool-manual-subtask-executor6,6df97dcbba174ed6,f208dbfefbfb] c.a.o.c.t.engine.runner.RunnerFactory : Execute task failed, subtask=SubtaskInstanceEntity{id=5695833, name=Start log backup if necessary, state=FAILED, operation=EXECUTE, className=com.oceanbase.ocp.backup.internal.task.schedule.StartLogBackupTask, seriesId=1, startTime=2023-04-28T10:05:04.755+08:00, endTime=2023-04-28T10:05:04.851+08:00}, failedMessage=Failed to start log backup. Error message: (conn=84582) start log archive backup when not STOP is not supported.
18
19
com.alipay.ocp.core.exception.UnexpectedException: [OCP UnexpectedException]: status=500 INTERNAL_SERVER_ERROR, errorCode=BACKUP_START_LOG_BACKUP_FAILED, args=(conn=84582) start log archive backup when not STOP is not supported
20
at com.oceanbase.ocp.backup.internal.operation.PhysicalBackupObOpsService.startLogBackup(PhysicalBackupObOpsService.java:400) ~[ocp-backup-service-3.3.0-20220427.jar!/:3.3.0-20220427]
21
at com.oceanbase.ocp.backup.internal.operation.PhysicalBackupObOpsService.startLogBackup(PhysicalBackupObOpsService.java:381) ~[ocp-backup-service-3.3.0-20220427.jar!/:3.3.0-20220427]
22
at com.oceanbase.ocp.backup.internal.operation.PhysicalBackupTaskService.triggerLogBackup(PhysicalBackupTaskService.java:73) ~[ocp-backup-service-3.3.0-20220427.jar!/:3.3.0-20220427]
23
at com.oceanbase.ocp.backup.internal.task.schedule.StartLogBackupTask.run(StartLogBackupTask.java:65) ~[ocp-backup-service-3.3.0-20220427.jar!/:3.3.0-20220427]
24
at com.alipay.ocp.core.metadb.task.model.SubtaskInstanceEntity.run(SubtaskInstanceEntity.java:221) ~[ocp-core-3.3.0-20220427.jar!/:3.3.0-20220427]
25
at com.alipay.ocp.core.task.engine.runner.JavaTaskRunner.doExecute(JavaTaskRunner.java:26) ~[ocp-core-3.3.0-20220427.jar!/:3.3.0-20220427]
26
at com.alipay.ocp.core.task.engine.runner.JavaTaskRunner.run(JavaTaskRunner.java:20) ~[ocp-core-3.3.0-20220427.jar!/:3.3.0-20220427]
27
at com.alipay.ocp.core.task.engine.runner.RunnerFactory.doRun(RunnerFactory.java:113) ~[ocp-core-3.3.0-20220
28
427.jar!/:3.3.0-20220427]
29
at com.alipay.ocp.core.task.engine.runner.RunnerFactory.redirectOutputIfNotSysSchedule(RunnerFactory.java:185) ~[ocp-core-3.3.0-20220427.jar!/:3.3.0-20220427]
30
at com.alipay.ocp.core.task.engine.runner.RunnerFactory.run(RunnerFactory.java:102) ~[ocp-core-3.3.0-20220427.jar!/:3.3.0-20220427]
31
at com.alipay.ocp.core.task.engine.coordinator.worker.subtask.ReadySubtaskWorker.lambda$submitTask$3(ReadySubtaskWorker.java:123) ~[ocp-core-3.3.0-20220427.jar!/:3.3.0-20220427]
32
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_312]
33
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_312]
34
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_312]
35
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_312]