]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/ClusterState: make pg stat filtering less fragile
authorSage Weil <sage@redhat.com>
Tue, 23 May 2017 16:02:02 +0000 (12:02 -0400)
committerSage Weil <sage@redhat.com>
Fri, 2 Jun 2017 17:02:54 +0000 (13:02 -0400)
commit6afca3beb2a867195d971e0f37710aa3d6b5b4b8
tree982dcc2e738390159a095c9cf8c7407e999e1949
parentdcc4c52ee8a8c33fabd4d56a42b9667658ed730c
mgr/ClusterState: make pg stat filtering less fragile

We want to drop updates for pgs for pools that don't exist.  Keep an
updated set of those pools instead of relying on the previous PGMap
having them instantiated.  (The previous map may drift due to bugs.)

Signed-off-by: Sage Weil <sage@redhat.com>
src/mgr/ClusterState.cc
src/mgr/ClusterState.h