Project

General

Profile

Bug #20539

rgw:multisite: RGWRadosRemoveOmapKeysCR::request_complete return val is wrong

Added by shasha lu 4 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
07/07/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
jewel kraken
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
Needs Doc:
No

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


Related issues

Copied to rgw - Backport #20673: jewel: rgw:multisite: RGWRadosRemoveOmapKeysCR::request_complete return val is wrong Resolved
Copied to rgw - Backport #20674: kraken: rgw:multisite: RGWRadosRemoveOmapKeysCR::request_complete return val is wrong Rejected

History

#2 Updated by Casey Bodley 4 months ago

  • Status changed from New to Testing
  • Backport set to jewel kraken

#3 Updated by Casey Bodley 3 months ago

  • Status changed from Testing to Pending Backport

#4 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #20673: jewel: rgw:multisite: RGWRadosRemoveOmapKeysCR::request_complete return val is wrong added

#5 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #20674: kraken: rgw:multisite: RGWRadosRemoveOmapKeysCR::request_complete return val is wrong added

#6 Updated by Nathan Cutler about 1 month ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF