Bug #18437
error log's error code is not right in data sync
0%
Description
When data sync failed, we store error log. The error code is not right. Like below:
{
"id": "1_1482244533.412578_50641.1",
"section": "data",
"name": "shard6410:cc3594b6-6282-421a-a3d5-3f7f3fa7efd0.805059.4:16\/100wks_4M12511",
"timestamp": "2016-12-20 14:35:33.412578Z",
"info": {
"source_zone": "3e48eda5-25c8-4347-85b4-1ec503a1a694",
"error_code": 4294967291,
"message": "failed to sync object"
}
},
{
"id": "1_1482244533.427137_50643.1",
"section": "data",
"name": "shard6412:cc3594b6-6282-421a-a3d5-3f7f3fa7efd0.805059.6:43\/100wks_4M18690",
"timestamp": "2016-12-20 14:35:33.427137Z",
"info": {
"source_zone": "3e48eda5-25c8-4347-85b4-1ec503a1a694",
"error_code": 4294967291,
"message": "failed to sync object"
}
},
}
History
#1 Updated by Greg Farnum almost 7 years ago
- Project changed from Ceph to rgw
#2 Updated by Yehuda Sadeh almost 7 years ago
The error code there should probably be changed to signed int. Should be trivial to fix.