Project

General

Profile

Actions

Bug #13950

closed

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

Added by liu mingxin over 8 years ago. Updated about 7 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 (v1):
Crash signature (v2):

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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Kefu Chai over 8 years ago

  • Status changed from New to Fix Under Review
Actions #2

Updated by Kefu Chai over 8 years ago

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

Updated by Sage Weil about 7 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF