Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PGMonitor: unconfuse object count skew message
"Pool <pool> has too few pgs" is okay assuming it does not take other pools into account. And since it does, it is confusing in the following scenario: 1. Create two pools, one with small pg count and one with large pg count 2. Put a whole lot of objects in smaller pool, resulting in "too few pgs" warning on that pool, which is expected behavior. 3. Put a whole lot of objects in larger pool, warning goes away. Suddenly smaller pool has plenty of PGs? Current message suggests adding more nodes (or PGs) to pool, when actually it's warning about significantly more objects in that particular pool than in the other pools. Signed-off-by: Piotr Dałek <[email protected]>
- Loading branch information