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