]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
PGMonitor: unconfuse object count skew message 7882/head
authorPiotr Dałek <piotr.dalek@ts.fujitsu.com>
Wed, 2 Mar 2016 12:22:38 +0000 (13:22 +0100)
committerPiotr Dałek <piotr.dalek@ts.fujitsu.com>
Thu, 3 Mar 2016 14:01:56 +0000 (15:01 +0100)
commitf792a3f613ed7895f86f6b71ea09f0c23f3bbd50
tree5d27571d13f96d2f359ced9d71018c218f1a8995
parent8c054f741a8102271c3b9ccf6f459210cf40f71e
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 <piotr.dalek@ts.fujitsu.com>
src/mon/PGMonitor.cc