Project

General

Profile

Actions

Bug #20539

closed

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

Added by shasha lu almost 7 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
jewel kraken
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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 2 (0 open2 closed)

Copied to rgw - Backport #20673: jewel: rgw:multisite: RGWRadosRemoveOmapKeysCR::request_complete return val is wrongResolvedNathan CutlerActions
Copied to rgw - Backport #20674: kraken: rgw:multisite: RGWRadosRemoveOmapKeysCR::request_complete return val is wrongRejectedActions
Actions #2

Updated by Casey Bodley almost 7 years ago

  • Status changed from New to 7
  • Backport set to jewel kraken
Actions #3

Updated by Casey Bodley almost 7 years ago

  • Status changed from 7 to Pending Backport
Actions #4

Updated by Nathan Cutler almost 7 years ago

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

Updated by Nathan Cutler almost 7 years ago

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

Updated by Nathan Cutler over 6 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF