Project

General

Profile

Feature #11362

test: verify that expected feature bits are present in a cluster

Added by Greg Farnum over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
04/10/2015
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

https://github.com/ceph/ceph/pull/4322/files

We accidentally released hammer with a bug where it sets the CRUSH_V4 feature bit whenever a user's CRUSH map has at least 6 bucket types, rather than when they are actually using straw2. The upgrade tests didn't catch this because they use a very small number of CRUSH buckets (#11361), and nothing in the system validate that we ever actually saw the CRUSH_V4 feature.

Implement something so that we can verify features we expect to see enabled in these scenarios.

Also available in: Atom PDF