]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/PGMonitor: clear PGMap data when require_luminous is set
authorSage Weil <sage@redhat.com>
Thu, 18 May 2017 20:05:28 +0000 (16:05 -0400)
committerSage Weil <sage@redhat.com>
Fri, 2 Jun 2017 17:02:44 +0000 (13:02 -0400)
commit3c96f2f7cece5a236f1139228bb4755b9cd33144
treecf2be96e2b0445e97b4c675508d527a77436bc9e
parent1e3f1fcc8271299cf4456a32e6977107dff308bb
mon/PGMonitor: clear PGMap data when require_luminous is set

Once the OSDMap flag is set there is no going back. Zero out the on-disk
PGMap data, and clear the in-memory PGMap to free up memory and make
bugs easier to spot.

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/PGMonitor.cc
src/mon/PGMonitor.h
src/mon/PaxosService.h