GBase 8a
备份恢复
问答

GBase 8a 备份数据库偶发报错:FileOperation.cpp:143 RETURN:33 MESSAGE:file write error

发表于2026-01-29 11:58:08105次浏览25个评论

为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。

【GBase版本】:GBase 8a

【操作系统】: CentOS 7.5

【CPU】:x86_64

【问题描述】*:备份数据库过程中,偶发出现报错

2026-01-25 22:21:17.091  308434688     INFO: BRTable.cpp:1866 Backup ods.aims_tinvest_contract_n1 column 16 end
2026-01-25 22:21:17.091  308434688     INFO: BRTable.cpp:1348 Backup ods.aims_tinvest_contract_n1 column 17 phycol:17 begin
2026-01-25 22:21:17.102  241293056     INFO: BRTable.cpp:1866 Backup ods.aims_tinvest_contract_n1 column 2 end
2026-01-25 22:21:17.102  241293056     INFO: BRTable.cpp:1348 Backup ods.aims_tinvest_contract_n1 column 18 phycol:18 begin
2026-01-25 22:21:17.103  241293056     INFO: BRTable.cpp:1866 Backup ods.aims_tinvest_contract_n1 column 18 end
2026-01-25 22:21:17.103  241293056     INFO: BRTable.cpp:1348 Backup ods.aims_tinvest_contract_n1 column 19 phycol:19 begin
2026-01-25 22:21:17.103  241293056     INFO: BRTable.cpp:1866 Backup ods.aims_tinvest_contract_n1 column 19 end
2026-01-25 22:21:17.103  241293056     INFO: BRTable.cpp:1348 Backup ods.aims_tinvest_contract_n1 column 20 phycol:20 begin
2026-01-25 22:21:17.103  241293056     INFO: BRTable.cpp:1866 Backup ods.aims_tinvest_contract_n1 column 20 end
2026-01-25 22:21:17.103  241293056     INFO: BRTable.cpp:1348 Backup ods.aims_tinvest_contract_n1 column 21 phycol:21 begin
2026-01-25 22:21:17.136  325220096     INFO: BRTable.cpp:1866 Backup ods.aims_tinvest_contract_n1 column 3 end
2026-01-25 22:21:17.136  325220096     INFO: BRTable.cpp:1348 Backup ods.aims_tinvest_contract_n1 column 22 phycol:22 begin
2026-01-25 22:21:17.136  325220096     INFO: BRTable.cpp:1866 Backup ods.aims_tinvest_contract_n1 column 22 end
2026-01-25 22:21:17.136  325220096     INFO: BRTable.cpp:1348 Backup ods.aims_tinvest_contract_n1 column 23 phycol:23 begin
2026-01-25 22:21:17.156  258078464     INFO: BRTable.cpp:1866 Backup ods.aims_tinvest_contract_n1 column 5 end
2026-01-25 22:21:17.156  258078464     INFO: BRTable.cpp:1348 Backup ods.aims_tinvest_contract_n1 column 24 phycol:24 begin
2026-01-25 22:21:17.212  342005504 CRITICAL: FileOperation.cpp:53 write file /opt/xxx_backup/ods/GclusterData_node1/BackupCycle_0/gnode/20260125222034.lv0/ods/data/aims_tinvest_collateral_contract_n3/C00018.seg.1 error! errno:22 errmsg:Invalid argument
2026-01-25 22:21:17.212  342005504 CRITICAL: FileOperation.cpp:143 RETURN:33 MESSAGE:file write error
2026-01-25 22:21:17.212  342005504 CRITICAL: BRThread.cpp:181 write file failed:/opt/xxx_backup/ods/GclusterData_node1/BackupCycle_0/gnode/20260125222034.lv0/ods/data/aims_tinvest_collateral_contract_n3/C00018.seg.1(Invalid argument)
2026-01-25 22:21:17.212  342005504     INFO: BRThread.cpp:52 backup or recover thread name:WriteThread,Threadid:342005504,code :33 
2026-01-25 22:21:18.156  333612800     INFO: BlockManager.cpp:209 RETURN:24 MESSAGE:rcman thread stop successfully
2026-01-25 22:21:18.156  333612800     INFO: BRThread.cpp:52 backup or recover thread name:checksum block,Threadid:333612800,code :24 
2026-01-25 22:21:18.177  274863872     INFO: BlockManager.cpp:209 RETURN:24 MESSAGE:rcman thread stop successfully
2026-01-25 22:21:18.177  274863872 CRITICAL: FileOperation2Block.cpp:253 get block error. error: 24  info: rcman thread stop successfully
2026-01-25 22:21:18.177  274863872 CRITICAL: FileOperation2Block.cpp:254 RETURN:88 MESSAGE:get block error
2026-01-25 22:21:18.177  274863872 CRITICAL: BRTable.cpp:1728 RETURN:88 MESSAGE:get block error
2026-01-25 22:21:18.177  274863872 CRITICAL: BRThread.cpp:376 read thread do task failed(task type:1)
2026-01-25 22:21:18.177  274863872     INFO: BRThread.cpp:52 backup or recover thread name:ReadThread,Threadid:274863872,code :88 
2026-01-25 22:21:19.177  316827392     INFO: BlockManager.cpp:209 RETURN:24 MESSAGE:rcman thread stop successfully
2026-01-25 22:21:19.177  316827392 CRITICAL: FileOperation2Block.cpp:253 get block error. error: 24  info: rcman thread stop successfully
2026-01-25 22:21:19.177  316827392 CRITICAL: FileOperation2Block.cpp:254 RETURN:88 MESSAGE:get block error
2026-01-25 22:21:19.177  316827392 CRITICAL: BRTable.cpp:1728 RETURN:88 MESSAGE:get block error
2026-01-25 22:21:19.177  316827392 CRITICAL: BRThread.cpp:376 read thread do task failed(task type:1)
2026-01-25 22:21:19.177  316827392     INFO: BRThread.cpp:52 backup or recover thread name:ReadThread,Threadid:316827392,code :88 
2026-01-25 22:21:20.177  249685760     INFO: BlockManager.cpp:209 RETURN:24 MESSAGE:rcman thread stop successfully
2026-01-25 22:21:20.177  249685760 CRITICAL: FileOperation2Block.cpp:253 get block error. error: 24  info: rcman thread stop successfully

评论

登录后才可以发表评论
用户头像
GBase社区管理员发表于 6个月前

请提供准确的数据库版本,备份对象情况。表类型,列类型,表数据规模。

是否是同一张表一直备份失败。再次备份能否成功。

游来游去的鱼发表于 6个月前
@社区管理员:表结构请参考如下,一共1782行。
游来游去的鱼发表于 6个月前
@社区管理员:具体版本:
gbase> SELECT VERSION();
9.5.3.28.149123692e9d.
(Elapsed:80:80:80.01)
1 row in set
游来游去的鱼发表于 6个月前
@游来游去的鱼:表行数:1782行
gbase>select count(*)from aims_tinvest_collateral_contract;
count(*)
1782
row in set
(Elapsed:80:80:00.14)
游来游去的鱼发表于 6个月前
@游来游去的鱼:gbase>
show create table aims_tinvest_collateral_contract\G
Table:aims_tinvest_collateral_contract
Create Table:CREATE TABLE "aims_tinvest_collateral_contract"
"etl_file_date" varchar(10)DEFAULT NULL COMMENT '文件日期',
"c_collcontractid" varchar(32)DEFAULT NULL COMMENT '',
"c_contractno" varchar(255)DEFAULT NULL COMMENT '',
"c_projectcode"varchar(32)DEFAULT NULL COMMENT'项目编号'
"d effectivedate" datetime DEFAULT NULL COMMENT '',
"d_begindate" datetime DEFAULT NULL COMMENT '开始日期',
"d_enddate" daetiMe DEFAULT NULL COMMENT '',
"c_collateraltype" varchar(10)DEFAULT NULL COMMENT '',
"c_assettype" varcar(18) DEFAULT NULL COMMENT '',
"c_contractname" varchar(255)DEFAULT NULL COMMENT '合同名称',
"1_guarantor" varchar(255)DEFAULT NULL COMMENT '担保人/质押人',
"f_collateralamount" decimal(25,4)DEFAULT NULL COMMENT '抵质押金额',
"f_rate"decimal(9.4)DEFAULT NULL COMMENT ' ',
"c_assetypex" varchar(32) DEFAULT NWL COMMENT '',
"c housepropertytye"varchar(32)DEFAULT NULL COMMENT '',
"c_storagemode" yarchar(32) DEFAULT NULL COMMENT '保管方式',
"c_evaluateway" varchar(32) DEFAULT NULL COMMENT '评估方法',
"c_evaluateorq" varchar(255) DEFAULT NULL COMMENT '评估机构名称(中信个性化)',
"c_evaluatecurrency" varchar(32) DEFAULT NULL COMMENT ' ',
"d evaluatenewdate" datetime DEFAULT NULL COMMFNT '',
"f_evaluatenewvalue" decimal(25,4) DEFAULT NULL COMMENT '',
"c_stockstatus" varchar(10) DEFAULT NULL COMMENT '',
"c_processinstanceid" varchar(180) DEFAULT NULL COMMENT '实际日期',
"d_enteruer" varchar(32)DEFAULT NULLCOMMENT '录入人',
"d enterdate" datetime DEFAULT NULL COMMENT'录入时间',
"c_lastupdateuer" varchar(32)DEFAULT NULL COMMENT '',
"d_lastupdatedate" datetime DEFAULT NULL COMMENT '',
"c_contracttype" varchar(2)DEFAULT NULL COMMENT '合同类型',
"c_rightseguence" varchar(3)DEFAULT NULL COMMENT ' ',
"c_rivalrelation" varchar(2)DEFAULT NULL COMMENT ' '
"d guaranteeeffectivedate" datetime DEFAULT NULL COMMENT '',
"d_expiredate" datetime DEFAULT NULL COMMENT'到期日期',
"etl data inserted time" datetime DEFAULT NULL COMMENT,'数据入库的具体时间',
"etl data updated time" datetime DEFAULT NULL COMMENT,'数据最新入库的具体时间',
) ENGINE=EXPRESS DEFAULT CHARSET=Utf8 TABLESPACE='sys_tablespace’ COMMENT=''
游来游去的鱼发表于 6个月前
@社区管理员:上一次备份失败的是另一张表,具体如下,再次发起备份是可以成功的。
2025-12-14 14:56:59.954 2672441088 INFO: BRTable.cpp:1348 Backup ods.aims_tinvest_plan_fare_n3 column 6 phycol:6 begin
2025-12-14 14:57:00.076 2596906752 INFO: BRTable.cpp:1866 Backup ods.aims_tinvest_plan_fare_n1 column 74 end
2025-12-14 14:57:00.076 2596906752 INFO: BRTable.cpp:1348 Backup ods.aims_tinvest_plan_fare_n3 column 7 phycol:7 begin
2025-12-14 14:57:00.106 2605299456 INFO: BRTable.cpp:1866 Backup ods.aims_tinvest_plan_fare_n1 column 75 end
2025-12-14 14:57:00.106 2605299456 INFO: BRTable.cpp:1348 Backup ods.aims_tinvest_plan_fare_n3 column 8 phycol:8 begin
2025-12-14 14:57:00.316 2655655680 INFO: BRTable.cpp:1866 Backup ods.aims_tinvest_plan_fare_n1 column 76 end
2025-12-14 14:57:00.316 2655655680 INFO: BRTable.cpp:1348 Backup ods.aims_tinvest_plan_fare_n3 column 9 phycol:9 begin
2025-12-14 14:57:00.327 2630477568 INFO: BRTable.cpp:1866 Backup ods.aims_tinvest_plan_fare_n1 column 77 end
2025-12-14 14:57:00.327 2630477568 INFO: BRTable.cpp:1348 Backup ods.aims_tinvest_plan_fare_n3 column 10 phycol:10 begin
2025-12-14 14:57:00.385 2647262976 INFO: BRTable.cpp:1866 Backup ods.aims_tinvest_plan_fare_n1 column 78 end
2025-12-14 14:57:00.385 2647262976 INFO: BRTable.cpp:1348 Backup ods.aims_tinvest_plan_fare_n3 column 11 phycol:11 begin
2025-12-14 14:57:00.396 2613692160 INFO: BRTable.cpp:1866 Backup ods.aims_tinvest_plan_fare_n3 column 0 end
2025-12-14 14:57:00.396 2613692160 INFO: BRTable.cpp:1348 Backup ods.aims_tinvest_plan_fare_n3 column 12 phycol:12 begin
2025-12-14 14:57:00.405 2588514048 INFO: BRTable.cpp:1866 Backup ods.aims_tinvest_plan_fare_n3 column 1 end
2025-12-14 14:57:00.405 2588514048 INFO: BRTable.cpp:1348 Backup ods.aims_tinvest_plan_fare_n3 column 13 phycol:13 begin
2025-12-14 14:57:00.417 2580121344 INFO: BRTable.cpp:1866 Backup ods.aims_tinvest_plan_fare_n3 column 3 end
2025-12-14 14:57:00.417 2580121344 INFO: BRTable.cpp:1348 Backup ods.aims_tinvest_plan_fare_n3 column 14 phycol:14 begin
2025-12-14 14:57:00.452 2638870272 INFO: BRTable.cpp:1866 Backup ods.aims_tinvest_plan_fare_n3 column 2 end
2025-12-14 14:57:00.452 2638870272 INFO: BRTable.cpp:1348 Backup ods.aims_tinvest_plan_fare_n3 column 15 phycol:15 begin
2025-12-14 14:57:00.471 2664048384 INFO: BRTable.cpp:1866 Backup ods.aims_tinvest_plan_fare_n3 column 4 end
2025-12-14 14:57:00.471 2664048384 INFO: BRTable.cpp:1348 Backup ods.aims_tinvest_plan_fare_n3 column 16 phycol:16 begin
2025-12-14 14:57:00.564 2622084864 INFO: BRTable.cpp:1866 Backup ods.aims_tinvest_plan_fare_n3 column 5 end
2025-12-14 14:57:00.564 2622084864 INFO: BRTable.cpp:1348 Backup ods.aims_tinvest_plan_fare_n3 column 17 phycol:17 begin
2025-12-14 14:57:00.746 2672441088 INFO: BRTable.cpp:1866 Backup ods.aims_tinvest_plan_fare_n3 column 6 end
2025-12-14 14:57:00.746 2672441088 INFO: BRTable.cpp:1348 Backup ods.aims_tinvest_plan_fare_n3 column 18 phycol:18 begin
2025-12-14 14:57:00.779 547764288 INFO: BRTable.cpp:2155 BackupNormalTable aims_vdzyxx_n3 end
2025-12-14 14:57:00.920 2596906752 INFO: BRTable.cpp:1866 Backup ods.aims_tinvest_plan_fare_n3 column 7 end
2025-12-14 14:57:00.920 2596906752 INFO: BRTable.cpp:1348 Backup ods.aims_tinvest_plan_fare_n3 column 19 phycol:19 begin
2025-12-14 14:57:00.945 2605299456 INFO: BRTable.cpp:1866 Backup ods.aims_tinvest_plan_fare_n3 column 8 end
2025-12-14 14:57:00.945 2605299456 INFO: BRTable.cpp:1348 Backup ods.aims_tinvest_plan_fare_n3 column 20 phycol:20 begin
2025-12-14 14:57:00.982 547764288 INFO: BRDataBase.cpp:597 Table: aims_vdzyxx_n3 Backup end
2025-12-14 14:57:00.982 547764288 INFO: BRDataBase.cpp:588 Table: aims_vfylsxx_n3 Backup begin!!
2025-12-14 14:57:00.982 547764288 INFO: TableInfo.cpp:1471 ods.aims_vfylsxx_n3 is not partition table
2025-12-14 14:57:00.982 547764288 INFO: BRTable.cpp:2027 BackupNormalTable aims_vfylsxx_n3 begin
2025-12-14 14:57:01.115 2689226496 CRITICAL: FileOperation.cpp:23 open file /opt/xxxx_backup/ods/GclusterData_node1/BackupCycle_0/gnode/20251214145529.lv0/checksum_result error. errno: 2 errmsg: No such file or directory
2025-12-14 14:57:01.115 2689226496 CRITICAL: BRThread.cpp:246 open file failed:/opt/xxxx_backup/ods/GclusterData_node1/BackupCycle_0/gnode/20251214145529.lv0/checksum_result(No such file or directory)
2025-12-14 14:57:01.115 2689226496 INFO: BRThread.cpp:52 backup or recover thread name:WriteThread,Threadid:2689226496,code :31
2025-12-14 14:57:02.096 2605299456 INFO: BlockManager.cpp:209 RETURN:24 MESSAGE:rcman thread stop successfully
2025-12-14 14:57:02.096 2605299456 CRITICAL: FileOperation2Block.cpp:534 get block error. error: 24 info: rcman thread stop successfully
2025-12-14 14:57:02.096 2605299456 CRITICAL: FileOperation2Block.cpp:535 RETURN:88 MESSAGE:get block error
2025-12-14 14:57:02.096 2605299456 CRITICAL: BRTable.cpp:1690 read dc from /data/xxx.xxx.xxx.xxx/gnode/userdata/gbase/ods/sys_tablespace/aims_tinvest_plan_fare_n3/C00020.seg fail offset: 25863669 dc_size:198574
2025-12-14 14:57:02.096 2605299456 CRITICAL: BRTable.cpp:1691 RETURN:88 MESSAGE:get block error
2025-12-14 14:57:02.096 2605299456 CRITICAL: BRThread.cpp:376 read thread do task failed(task type:1)
2025-12-14 14:57:02.096 2605299456 INFO: BRThread.cpp:52 backup or recover thread name:ReadThread,Threadid:2605299456,code :88
2025-12-14 14:57:02.102 2680833792 INFO: BlockManager.cpp:209 RETURN:24 MESSAGE:rcman thread stop successfully
2025-12-14 14:57:02.102 2680833792 INFO: BRThread.cpp:52 backup or recover thread name:checksum block,Threadid:2680833792,code :24
2025-12-14 14:57:03.096 2672441088 INFO: BlockManager.cpp:209 RETURN:24 MESSAGE:rcman thread stop successfully
2025-12-14 14:57:03.096 2672441088 CRITICAL: FileOperation2Block.cpp:253 get block error. error: 24 info: rcman thread stop successfully
2025-12-14 14:57:03.096 2672441088 CRITICAL: FileOperation2Block.cpp:254 RETURN:88 MESSAGE:get block error
2025-12-14 14:57:03.096 2672441088 CRITICAL: BRTable.cpp:1728 RETURN:88 MESSAGE:get block error
2025-12-14 14:57:03.096 2672441088 CRITICAL: BRThread.cpp:376 read thread do task failed(task type:1)
2025-12-14 14:57:03.096 2672441088 INFO: BRThread.cpp:52 backup or recover thread name:ReadThread,Threadid:2672441088,code :88
2025-12-14 14:57:04.096 2630477568 INFO: BlockManager.cpp:209 RETURN:24 MESSAGE:rcman thread stop successfully
2025-12-14 14:57:04.096 2630477568 CRITICAL: FileOperation2Block.cpp:253 get block error. error: 24 info: rcman thread stop successfully
2025-12-14 14:57:04.096 2630477568 CRITICAL: FileOperation2Block.cpp:254 RETURN:88 MESSAGE:get block error
2025-12-14 14:57:04.096 2630477568 CRITICAL: BRTable.cpp:254 RETURN:33 MESSAGE:file write error
2025-12-14 14:57:04.096 2630477568 CRITICAL: BRTable.cpp:1863 RETURN:33 MESSAGE:file write error
2025-12-14 14:57:04.096 2630477568 CRITICAL: BRThread.cpp:376 read thread do task failed(task type:1)
2025-12-14 14:57:04.096 2630477568 INFO: BRThread.cpp:52 backup or recover thread name:ReadThread,Threadid:2630477568,code :33
2025-12-14 14:57:05.096 2655655680 INFO: BlockManager.cpp:209 RETURN:24 MESSAGE:rcman thread stop successfully
2025-12-14 14:57:05.096 2655655680 CRITICAL: FileOperation2Block.cpp:253 get block error. error: 24 info: rcman thread stop successfully
2025-12-14 14:57:05.096 2655655680 CRITICAL: FileOperation2Block.cpp:254 RETURN:88 MESSAGE:get block error
2025-12-14 14:57:05.096 2655655680 CRITICAL: BRTable.cpp:254 RETURN:33 MESSAGE:file write error
2025-12-14 14:57:05.096 2655655680 CRITICAL: BRTable.cpp:1863 RETURN:33 MESSAGE:file write error
2025-12-14 14:57:05.096 2655655680 CRITICAL: BRThread.cpp:376 read thread do task failed(task type:1)
2025-12-14 14:57:05.096 2655655680 INFO: BRThread.cpp:52 backup or recover thread name:ReadThread,Threadid:2655655680,code :33
2025-12-14 14:57:06.096 547764288 INFO: BlockManager.cpp:209 RETURN:24 MESSAGE:rcman thread stop successfully
2025-12-14 14:57:06.096 547764288 CRITICAL: FileOperation2Block.cpp:80 get block error. error: 24 info: rcman thread stop successfully
2025-12-14 14:57:06.096 547764288 CRITICAL: FileOperation2Block.cpp:81 RETURN:88 MESSAGE:get block error
2025-12-14 14:57:06.096 547764288 CRITICAL: FileOperation2Block.cpp:655 destination file path: /opt/xxxx_backup/ods/GclusterData_node1/BackupCycle_0/gnode/20251214145529.lv0/ods/metadata/aims_vfylsxx_n3.frm offset: 0
2025-12-14 14:57:06.096 547764288 CRITICAL: FileOperation2Block.cpp:656 RETURN:88 MESSAGE:get block error
2025-12-14 14:57:06.096 547764288 CRITICAL: BRTable.cpp:947 CopyFile /data/xxx.xxx.xxx.xxx/gnode/userdata/gbase/ods/metadata/aims_vfylsxx_n3.frm to /opt/xxxx_backup/ods/GclusterData_node1/BackupCycle_0/gnode/20251214145529.lv0/ods/metadata/aims_vfylsxx_n3.frm failed
2025-12-14 14:57:06.096 547764288 CRITICAL: BRTable.cpp:948 RETURN:88 MESSAGE:get block error
2025-12-14 14:57:06.096 547764288 CRITICAL: BRTable.cpp:1943 Backup File /data/xxx.xxx.xxx.xxx/gnode/userdata/gbase/ods/metadata/aims_vfylsxx_n3.frm failed!
2025-12-14 14:57:06.096 547764288 CRITICAL: BRTable.cpp:1944 RETURN:88 MESSAGE:get block error
2025-12-14 14:57:06.096 547764288 CRITICAL: BRTable.cpp:2040 RETURN:88 MESSAGE:get block error
2025-12-14 14:57:06.096 547764288 CRITICAL: BRTable.cpp:2222 RETURN:88 MESSAGE:get block error
2025-12-14 14:57:06.096 547764288 CRITICAL: BRDataBase.cpp:593 Backup_Table failed!! DBName: ods, TableName: aims_vfylsxx_n3
2025-12-14 14:57:06.096 547764288 CRITICAL: BRDataBase.cpp:594 RETURN:88 MESSAGE:get block error
2025-12-14 14:57:06.096 547764288 CRITICAL: rcman.cpp:504 Backup_Database ods fail!!
2025-12-14 14:57:06.096 547764288 CRITICAL: rcman.cpp:505 RETURN:88 MESSAGE:get block error
2025-12-14 14:57:07.096 2622084864 INFO: BlockManager.cpp:209 RETURN:24 MESSAGE:rcman thread stop successfully
2025-12-14 14:57:07.096 2622084864 CRITICAL: FileOperation2Block.cpp:534 get block error. error: 24 info: rcman thread stop successfully
2025-12-14 14:57:07.096 2622084864 CRITICAL: FileOperation2Block.cpp:535 RETURN:88 MESSAGE:get block error
2025-12-14 14:57:07.096 2622084864 CRITICAL: BRTable.cpp:1690 read dc from /data/xxx.xxx.xxx.xxx/gnode/userdata/gbase/ods/sys_tablespace/aims_tinvest_plan_fare_n3/C00017.seg.1 fail offset: 30006134 dc_size:219876
2025-12-14 14:57:07.096 2622084864 CRITICAL: BRTable.cpp:1691 RETURN:88 MESSAGE:get block error
2025-12-14 14:57:07.096 2622084864 CRITICAL: BRThread.cpp:376 read thread do task failed(task type:1)
2025-12-14 14:57:07.096 2622084864 INFO: BRThread.cpp:52 backup or recover thread name:ReadThread,Threadid:2622084864,code :88
2025-12-14 14:57:08.096 2647262976 INFO: BlockManager.cpp:209 RETURN:24 MESSAGE:rcman thread stop successfully
2025-12-14 14:57:08.096 2647262976 CRITICAL: FileOperation2Block.cpp:253 get block error. error: 24 info: rcman thread stop successfully
2025-12-14 14:57:08.096 2647262976 CRITICAL: FileOperation2Block.cpp:254 RETURN:88 MESSAGE:get block error
2025-12-14 14:57:08.097 2647262976 CRITICAL: BRTable.cpp:254 RETURN:33 MESSAGE:file write error
2025-12-14 14:57:08.097 2647262976 CRITICAL: BRTable.cpp:1863 RETURN:33 MESSAGE:file write error
2025-12-14 14:57:08.097 2647262976 CRITICAL: BRThread.cpp:376 read thread do task failed(task type:1)
2025-12-14 14:57:08.097 2647262976 INFO: BRThread.cpp:52 backup or recover thread name:ReadThread,Threadid:2647262976,code :33
2025-12-14 14:57:09.097 2613692160 INFO: BlockManager.cpp:209 RETURN:24 MESSAGE:rcman thread stop successfully
2025-12-14 14:57:09.097 2613692160 CRITICAL: FileOperation2Block.cpp:253 get block error. error: 24 info: rcman thread stop successfully
2025-12-14 14:57:09.097 2613692160 CRITICAL: FileOperation2Block.cpp:254 RETURN:88 MESSAGE:get block error
2025-12-14 14:57:09.097 2613692160 CRITICAL: BRTable.cpp:254 RETURN:33 MESSAGE:file write error
2025-12-14 14:57:09.097 2613692160 CRITICAL: BRTable.cpp:1863 RETURN:33 MESSAGE:file write error
2025-12-14 14:57:09.097 2613692160 CRITICAL: BRThread.cpp:376 read thread do task failed(task type:1)
2025-12-14 14:57:09.097 2613692160 INFO: BRThread.cpp:52 backup or recover thread name:ReadThread,Threadid:2613692160,code :33
2025-12-14 14:57:10.097 2588514048 INFO: BlockManager.cpp:209 RETURN:24 MESSAGE:rcman thread stop successfully
2025-12-14 14:57:10.097 2588514048 CRITICAL: FileOperation2Block.cpp:253 get block error. error: 24 info: rcman thread stop successfully
2025-12-14 14:57:10.097 2588514048 CRITICAL: FileOperation2Block.cpp:254 RETURN:88 MESSAGE:get block error
2025-12-14 14:57:10.097 2588514048 CRITICAL: BRTable.cpp:254 RETURN:33 MESSAGE:file write error
2025-12-14 14:57:10.097 2588514048 CRITICAL: BRTable.cpp:1863 RETURN:33 MESSAGE:file write error
2025-12-14 14:57:10.097 2588514048 CRITICAL: BRThread.cpp:376 read thread do task failed(task type:1)
2025-12-14 14:57:10.097 2588514048 INFO: BRThread.cpp:52 backup or recover thread name:ReadThread,Threadid:2588514048,code :33
2025-12-14 14:57:11.097 2580121344 INFO: BlockManager.cpp:209 RETURN:24 MESSAGE:rcman thread stop successfully
2025-12-14 14:57:11.097 2580121344 CRITICAL: FileOperation2Block.cpp:253 get block error. error: 24 info: rcman thread stop successfully
2025-12-14 14:57:11.097 2580121344 CRITICAL: FileOperation2Block.cpp:254 RETURN:88 MESSAGE:get block error
2025-12-14 14:57:11.097 2580121344 CRITICAL: BRTable.cpp:254 RETURN:33 MESSAGE:file write error
2025-12-14 14:57:11.097 2580121344 CRITICAL: BRTable.cpp:1863 RETURN:33 MESSAGE:file write error
2025-12-14 14:57:11.097 2580121344 CRITICAL: BRThread.cpp:376 read thread do task failed(task type:1)
2025-12-14 14:57:11.097 2580121344 INFO: BRThread.cpp:52 backup or recover thread name:ReadThread,Threadid:2580121344,code :33
2025-12-14 14:57:12.097 2638870272 INFO: BlockManager.cpp:209 RETURN:24 MESSAGE:rcman thread stop successfully
2025-12-14 14:57:12.097 2638870272 CRITICAL: FileOperation2Block.cpp:253 get block error. error: 24 info: rcman thread stop successfully
2025-12-14 14:57:12.097 2638870272 CRITICAL: FileOperation2Block.cpp:254 RETURN:88 MESSAGE:get block error
2025-12-14 14:57:12.097 2638870272 CRITICAL: BRTable.cpp:254 RETURN:33 MESSAGE:file write error
2025-12-14 14:57:12.097 2638870272 CRITICAL: BRTable.cpp:1863 RETURN:33 MESSAGE:file write error
2025-12-14 14:57:12.097 2638870272 CRITICAL: BRThread.cpp:376 read thread do task failed(task type:1)
2025-12-14 14:57:12.097 2638870272 INFO: BRThread.cpp:52 backup or recover thread name:ReadThread,Threadid:2638870272,code :33
2025-12-14 14:57:13.097 2596906752 INFO: BlockManager.cpp:209 RETURN:24 MESSAGE:rcman thread stop successfully
2025-12-14 14:57:13.097 2596906752 CRITICAL: FileOperation2Block.cpp:253 get block error. error: 24 info: rcman thread stop successfully
2025-12-14 14:57:13.097 2596906752 CRITICAL: FileOperation2Block.cpp:254 RETURN:88 MESSAGE:get block error
2025-12-14 14:57:13.097 2596906752 CRITICAL: BRTable.cpp:1728 RETURN:88 MESSAGE:get block error
2025-12-14 14:57:13.097 2596906752 CRITICAL: BRThread.cpp:376 read thread do task failed(task type:1)
2025-12-14 14:57:13.097 2596906752 INFO: BRThread.cpp:52 backup or recover thread name:ReadThread,Threadid:2596906752,code :88
2025-12-14 14:57:14.097 2664048384 INFO: BlockManager.cpp:209 RETURN:24 MESSAGE:rcman thread stop successfully
2025-12-14 14:57:14.097 2664048384 CRITICAL: FileOperation2Block.cpp:253 get block error. error: 24 info: rcman thread stop successfully
2025-12-14 14:57:14.097 2664048384 CRITICAL: FileOperation2Block.cpp:254 RETURN:88 MESSAGE:get block error
2025-12-14 14:57:14.097 2664048384 CRITICAL: BRTable.cpp:254 RETURN:33 MESSAGE:file write error
2025-12-14 14:57:14.097 2664048384 CRITICAL: BRTable.cpp:1863 RETURN:33 MESSAGE:file write error
2025-12-14 14:57:14.097 2664048384 CRITICAL: BRThread.cpp:376 read thread do task failed(task type:1)
2025-12-14 14:57:14.097 2664048384 INFO: BRThread.cpp:52 backup or recover thread name:ReadThread,Threadid:2664048384,code :33
2025-12-14 14:57:14.120 547764288 CRITICAL: rcman.cpp:1447 DoDatabaseBackup error!! nRet = 88
2025-12-14 14:57:14.120 547764288 INFO: Command_Operation_Process end
游来游去的鱼发表于 6个月前
@游来游去的鱼:本次报错的具体命令是:
/data/xxx.xxx.xxx.130/gnode/server/bin/rcman -g -T 20251214145529 -Ugbase -txxx.xxx.xxx.130 -p -P 12 -c -C -d /opt/xxx_backup/ods/GclusterData_node1/BackupCycle_0/gnode -e backup database ods level 0
用户头像
GBase社区管理员发表于 6个月前
@游来游去的鱼

初步判断是操作系统的文件描述符的资源竞争导致偶发出现的报错。

可以把并行度调低再观察一段时间。目前-P是12,调为6试试

 

游来游去的鱼发表于 6个月前
@社区管理员:收到,感谢回复。
游来游去的鱼发表于 6个月前
@社区管理员:社区是否有上传日志的功能,可能完整日志更能看清楚问题。
用户头像
mittens发表于 6个月前
关注一波,学习下处理过程。
用户头像
mittens发表于 6个月前
学习了
游来游去的鱼发表于 6个月前
表结构参考如下:
用户头像
mittens发表于 6个月前
关注一波,学习下处理过程。
用户头像
mittens发表于 6个月前
关注一波,学习下处理过程。
用户头像
mittens发表于 6个月前
学习了
用户头像
mittens发表于 6个月前
学习了
用户头像
mittens发表于 6个月前
学习一下
用户头像
mittens发表于 6个月前
学习了
用户头像
GBase用户28017发表于 6个月前
偶发 问题最难解。
用户头像
mittens发表于 5个月前
学习了
用户头像
mittens发表于 5个月前
学习了
用户头像
mittens发表于 5个月前
学习了
用户头像
mittens发表于 5个月前
学习了
曾云林发表于 2个月前
继续努力