Project

General

Profile

Bug #13950

OSDMonitor::_check_become_tier cannot prevent client from setting multiple tiers in a particular way

Added by liu mingxin over 4 years ago. Updated almost 3 years ago.

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

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

suppose there are three pools,A B C.
if we add B to A as a tier,then add C to B as a tier,
the current implement will return with EINVAL to prevent setting multiple tiers.
but we can success setting multiple tiers in reverse order,that is,add C to B first,then add B to A as a tier,
_checkout_become_tier will not prevent it, and it might cause many serious problems, like risk of correctness.

https://github.com/ceph/ceph/pull/6764


Related issues

Related to Ceph - Bug #11840: avoid complicated cache tier, like cache loop and three level cache Resolved 06/02/2015

Associated revisions

Revision c5e53526 (diff)
Added by liu mingxin over 4 years ago

mon: fix OSDMonitor::_check_become_tier cannot prevent client
from setting multiple tiers in a particular way

Fixes:#13950
Signed-off-by: Mingxin Liu <>

History

#1 Updated by Kefu Chai over 4 years ago

  • Status changed from New to Fix Under Review

#2 Updated by Kefu Chai over 4 years ago

  • Related to Bug #11840: avoid complicated cache tier, like cache loop and three level cache added

#3 Updated by Sage Weil almost 3 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF