【 使用环境 】生产环境
【 OB or 其他组件 】单机部署的ob-4.3.5.5-ce, ocp v4.4.0
【问题描述】租户备份后无法进行恢复,页面显示180天内没有可以恢复的时间点
ocp报错如下:
[root@monitor log]# grep 'be425692b2af0cc9' ocp-server.log
2026-01-08 15:42:29.595 INFO 1709815 --- [http-nio-0.0.0.0-8080-exec-9,be425692b2af0cc9,139104fd2be6b53e] c.o.o.s.c.trace.RequestTracingAspect : API: [GET /api/v2/ob/clusters/1/tenants/5/backup/info?timeScopeType=LATEST_SIX_MONTHS, client=172.23.3.101, traceId=be425692b2af0cc9, method=SuccessResponse com.oceanbase.ocp.server.common.controller.ObTenantBackupController.parseBackupInfo(long,long,OffsetDateTime,OffsetDateTime,ObQueryTimeScopeType), args=1,5,LATEST_SIX_MONTHS,]
2026-01-08 15:42:29.595 INFO 1709815 --- [http-nio-0.0.0.0-8080-exec-9,be425692b2af0cc9,139104fd2be6b53e] c.oceanbase.backup.core.model.TimeScope : normalize time scope (startTime=null, endTime=null): invalid, default to latest seven days time scope
2026-01-08 15:42:29.622 INFO 1709815 --- [http-nio-0.0.0.0-8080-exec-9,be425692b2af0cc9,139104fd2be6b53e] c.o.o.b.i.s.BackupStorageConnectManager : isPhysical=true, isLogical=false, isPhysicalAndWasLogical=false
2026-01-08 15:42:29.638 INFO 1709815 --- [http-nio-0.0.0.0-8080-exec-9,be425692b2af0cc9,139104fd2be6b53e] c.o.o.c.agent.HostAgentServiceImpl : Finding OCP agent: hostId=1
2026-01-08 15:42:29.639 INFO 1709815 --- [http-nio-0.0.0.0-8080-exec-9,be425692b2af0cc9,139104fd2be6b53e] c.o.o.c.a.p.HostAgentProcessServiceImpl : Getting all OCP agent processes on host 1
2026-01-08 15:42:29.648 INFO 1709815 --- [http-nio-0.0.0.0-8080-exec-9,be425692b2af0cc9,139104fd2be6b53e] c.o.o.e.internal.template.HttpTemplate : POST request to agent, url:http://172.23.3.5:62888/api/v1/backup/file/dumpPhysicalCheck, request body:DumpPhysicalBackupFileRequest(obPath=ObPath(installPath=/data/gwc_cluster/oceanbase, dataPath=/data/gwc_cluster/ob_data, logPath=/data/gwc_cluster/ob_log, diskPathStyle=OBD, runPath=/data/gwc_cluster/oceanbase), backupFilePath=file:///data/ob_bak/gwc_cluster/1767685993/tenant_incarnation_1/1008/data, storageOption=, runUser=root), params:null
2026-01-08 15:42:29.656 WARN 1709815 --- [http-nio-0.0.0.0-8080-exec-9,be425692b2af0cc9,139104fd2be6b53e] c.o.o.b.i.d.f.physical.BackupFileDumper : try dump backup file failed, hostId=1, backupFilePath=file:///data/ob_bak/gwc_cluster/1767685993/tenant_incarnation_1/1008/data
2026-01-08 15:42:29.656 WARN 1709815 --- [http-nio-0.0.0.0-8080-exec-9,be425692b2af0cc9,139104fd2be6b53e] c.o.o.b.i.d.f.physical.BackupFileDumper : try dump backup file all failed, hostIdList=[1], backupFilePath=file:///data/ob_bak/gwc_cluster/1767685993/tenant_incarnation_1/1008/data
2026-01-08 15:42:29.656 ERROR 1709815 --- [http-nio-0.0.0.0-8080-exec-9,be425692b2af0cc9,139104fd2be6b53e] c.o.o.b.i.d.info.BackupInfoServiceImpl : [OCP UnexpectedException]: status=500 INTERNAL_SERVER_ERROR, errorCode=BACKUP_FILE_DUMP_FILE_ERROR, args=[1],file:///data/ob_bak/gwc_cluster/1767685993/tenant_incarnation_1/1008/data
2026-01-08 15:42:29.656 INFO 1709815 --- [http-nio-0.0.0.0-8080-exec-9,be425692b2af0cc9,139104fd2be6b53e] c.o.o.s.c.trace.RequestTracingAspect : API OK: [GET /api/v2/ob/clusters/1/tenants/5/backup/info client=172.23.3.101, traceId=be425692b2af0cc9, duration=73 ms]
ob_admin结果如下:
[root@localhost data]# ob_admin dump_backup -d "file:///data/ob_bak/gwc_cluster/1767685993/tenant_incarnation_1/1008/data/"
[NOTICE] If specific log is required, you need to set the environment variable OB_ADMIN_LOG_DIR.
for example: export OB_ADMIN_LOG_DIR=~/.ob_admin_log
please notice that log files should not be outputted to OceanBase's clog directory.
succ to open, filename=/dev/null, fd=5, wf_fd=2
succ to open, filename=/dev/null, fd=6, wf_fd=2
------------------------------{Backup Common Header}------------------------------
| data_type|27
| header_version|1
| data_version|1
| compressor_type|1
| header_length|48
| header_checksum|14550
| data_length|1231
| data_zlength|1231
| data_checksum|2948503363
| align_length|0
--------------------------------------------------------------------------------
------------------------------{tenant backup set infos}------------------------------
| 1|{backup_set_id:3, incarnation:1, tenant_id:1008, dest_id:1004, backup_type:{type:1}, plus_archivelog:false, date:20260107, prev_full_backup_set_id:0, prev_inc_backup_set_id:0, stats:{input_bytes:1802785035, output_bytes:24312999, tablet_count:779, finish_tablet_count:779, macro_block_count:860, finish_macro_block_count:859, extra_bytes:0, finish_file_count:0, log_file_count:0, finish_log_file_count:0}, start_time:1767761485225556, end_time:1767761560863238, status:1, result:0, encryption_mode:0, passwd:"", file_status:0, backup_path:"file:///data/ob_bak/gwc_cluster/1767685993/tenant_incarnation_1/1008/data", start_replay_scn:{val:1767761331976743000, v:0}, min_restore_scn:{val:1767761558547533000, v:0}, min_restore_scn_display:"2026-01-07 12:52:38.547533000", tenant_compatible_display:"4.3.5.5", backup_compatible:4, data_turn_id:0, meta_turn_id:1, cluster_version_display:"4.3.5.5", consistent_scn:{val:1767761509347201000, v:0}}
| 2|{backup_set_id:4, incarnation:1, tenant_id:1008, dest_id:1004, backup_type:{type:2}, plus_archivelog:false, date:20260107, prev_full_backup_set_id:3, prev_inc_backup_set_id:3, stats:{input_bytes:5490305618, output_bytes:42159696, tablet_count:2459, finish_tablet_count:2459, macro_block_count:2617, finish_macro_block_count:2616, extra_bytes:0, finish_file_count:0, log_file_count:0, finish_log_file_count:0}, start_time:1767763474456403, end_time:1767763541853114, status:1, result:0, encryption_mode:0, passwd:"", file_status:0, backup_path:"file:///data/ob_bak/gwc_cluster/1767685993/tenant_incarnation_1/1008/data", start_replay_scn:{val:1767762838185155000, v:0}, min_restore_scn:{val:1767763539156264000, v:0}, min_restore_scn_display:"2026-01-07 13:25:39.156264000", tenant_compatible_display:"4.3.5.5", backup_compatible:4, data_turn_id:0, meta_turn_id:1, cluster_version_display:"4.3.5.5", consistent_scn:{val:1767763500588749000, v:0}}
| 3|{backup_set_id:5, incarnation:1, tenant_id:1008, dest_id:1004, backup_type:{type:1}, plus_archivelog:false, date:20260107, prev_full_backup_set_id:0, prev_inc_backup_set_id:0, stats:{input_bytes:6161995962, output_bytes:58899931, tablet_count:2742, finish_tablet_count:2742, macro_block_count:2938, finish_macro_block_count:2936, extra_bytes:0, finish_file_count:0, log_file_count:0, finish_log_file_count:0}, start_time:1767764436564277, end_time:1767764502902709, status:1, result:0, encryption_mode:0, passwd:"", file_status:0, backup_path:"file:///data/ob_bak/gwc_cluster/1767685993/tenant_incarnation_1/1008/data", start_replay_scn:{val:1767762838185155000, v:0}, min_restore_scn:{val:1767764500257418000, v:0}, min_restore_scn_display:"2026-01-07 13:41:40.257418000", tenant_compatible_display:"4.3.5.5", backup_compatible:4, data_turn_id:0, meta_turn_id:1, cluster_version_display:"4.3.5.5", consistent_scn:{val:1767764462526149000, v:0}}
| 4|{backup_set_id:6, incarnation:1, tenant_id:1008, dest_id:1004, backup_type:{type:2}, plus_archivelog:false, date:20260108, prev_full_backup_set_id:5, prev_inc_backup_set_id:5, stats:{input_bytes:6034110371, output_bytes:41659902, tablet_count:2742, finish_tablet_count:2742, macro_block_count:2876, finish_macro_block_count:2875, extra_bytes:0, finish_file_count:0, log_file_count:0, finish_log_file_count:0}, start_time:1767816003744516, end_time:1767816076016834, status:1, result:0, encryption_mode:0, passwd:"", file_status:0, backup_path:"file:///data/ob_bak/gwc_cluster/1767685993/tenant_incarnation_1/1008/data", start_replay_scn:{val:1767774166401912003, v:0}, min_restore_scn:{val:1767816073246579000, v:0}, min_restore_scn_display:"2026-01-08 04:01:13.246579000", tenant_compatible_display:"4.3.5.5", backup_compatible:4, data_turn_id:0, meta_turn_id:1, cluster_version_display:"4.3.5.5", consistent_scn:{val:1767816034548904000, v:0}}

