]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
OSDMonitor: skip new pools in update_pools_status() and get_pools_health()
authorSamuel Just <sam.just@inktank.com>
Tue, 21 May 2013 22:22:56 +0000 (15:22 -0700)
committerSamuel Just <sam.just@inktank.com>
Wed, 22 May 2013 17:23:25 +0000 (10:23 -0700)
commit0289c445be0269157fa46bbf187c92639a13db46
tree02c94ec96c9562b28391e47c5f2b2fe0d571bca7
parente9d20ffe19d79a3af0279972c248d903f22c7766
OSDMonitor: skip new pools in update_pools_status() and get_pools_health()

New pools won't be full.  mon->pgmon()->pg_map.pg_pool_sum[poolid] will
implicitly create an entry for poolid causing register_new_pgs() to assume that
the newly created pgs in the new pool are in fact a result of a split
preventing MOSDPGCreate messages from being sent out.

Fixes: #4813
Backport: cuttlefish
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
src/mon/OSDMonitor.cc