Feature #7701
Filterable querying interface for PGMonitor
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Monitor
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
On larger clusters with 100,000s or millions of PGs, dumping everything for external tools becomes inefficient.
This will be a filtered version of the exist "pg dump [pgs|pgs_brief]" functionality.
Types of filtering considered so far:
- <state string> in states for finding PGs with a particular state. e.g. filtering for inconsistent PGs.
- <osd id> is the primary_[up|acting] e.g. for querying detailed PG state for a particular OSD
- <osd id> is in the [up|acting]
- PG is in <pool id> e.g. for querying PGs in a particular pool.
Filters should be combinable using a boolean AND. For example, it should be possible to list all inconsistent PGs in a particular pool.
History
#1 Updated by Greg Farnum almost 9 years ago
Is this resolved by https://github.com/ceph/ceph/pull/3470, the branch wip-7701?
#2 Updated by John Spray almost 9 years ago
- Status changed from New to Resolved
Looks that way!
This was a calamari thing originally, so if anybody working with that interface wishes for more filtering stuff then I expect they'll open another ticket.