Bug #20539
closedrgw:multisite: RGWRadosRemoveOmapKeysCR::request_complete return val is wrong
0%
Description
RGWRadosRemoveOmapKeysCR::request_complete return 'rval'. rval is a member variable, but it not initiated and used. So the return val is a random number.
RGWDataSyncSingleEntryCR may got incorrect retcode when call RGWRadosRemoveOmapKeysCR.
The radosgw may got the following log:
2017-07-07 09:25:34.566992 7f8caf7fe700 0 data sync: ERROR: failed to remove omap key from error repo (tbl.rgw.log:datalog.sync-status.shard.5e73f2d3-a1cb-4de3-aff4-6ff1aba9ca37.91.retry retcode=-900619692
2017-07-07 09:36:53.403452 7f8caf7fe700 0 data sync: ERROR: failed to remove omap key from error repo (tbl.rgw.log:datalog.sync-status.shard.5e73f2d3-a1cb-4de3-aff4-6ff1aba9ca37.93.retry retcode=-1687828655
2017-07-07 09:45:05.002315 7f8caf7fe700 0 data sync: ERROR: failed to remove omap key from error repo (tbl.rgw.log:datalog.sync-status.shard.5e73f2d3-a1cb-4de3-aff4-6ff1aba9ca37.78.retry retcode=-876798464
Updated by Casey Bodley almost 7 years ago
- Status changed from New to 7
- Backport set to jewel kraken
Updated by Casey Bodley almost 7 years ago
- Status changed from 7 to Pending Backport
Updated by Nathan Cutler almost 7 years ago
- Copied to Backport #20673: jewel: rgw:multisite: RGWRadosRemoveOmapKeysCR::request_complete return val is wrong added
Updated by Nathan Cutler almost 7 years ago
- Copied to Backport #20674: kraken: rgw:multisite: RGWRadosRemoveOmapKeysCR::request_complete return val is wrong added
Updated by Nathan Cutler over 6 years ago
- Status changed from Pending Backport to Resolved