Project

General

Profile

Bug #14922

osd/ReplicatedPG: break out loop if we encounter error during do_pg_op()

Added by xie xingguo about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
-
Start date:
02/29/2016
Due date:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

Otherwise the error code will be overwritten.

Associated revisions

Revision 201e1742 (diff)
Added by xie xingguo about 3 years ago

osd: replicatedpg: break out if we encounter error during do_pg_op()

Otherwise:
1. The error result may be overwritten and hidden.
2. There may be potential memory leak.

Fixes: #14922
Signed-off-by: xie xingguo <>

History

#1 Updated by Sage Weil about 3 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF