]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pgmon: call check_osd_map via a new on_active implementation
authorGreg Farnum <gregory.farnum@dreamhost.com>
Mon, 8 Aug 2011 20:48:29 +0000 (13:48 -0700)
committerGreg Farnum <gregory.farnum@dreamhost.com>
Mon, 8 Aug 2011 20:48:29 +0000 (13:48 -0700)
commitfca79085db306dd2e54368d7c3d8e2575856712f
treea4ee3feca1187de3e0d6a675024f8a941ba4ff3c
parent43a5cd70981330e0f833a61ed8589bff62fcc749
pgmon: call check_osd_map via a new on_active implementation

Previously it was possible to lose PG creations if a monitor election
happened at the right time. The issue would get rectified on the
next OSDMap update, but that could take...a while. (My observed time
when I discovered the bug had it go without creation for 43 minutes,
at which point I killed it.)

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
src/mon/PGMonitor.cc
src/mon/PGMonitor.h