]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
PG::handle_advance_map: on_pool_change after handling the map change 5988/head
authorSamuel Just <sjust@redhat.com>
Thu, 27 Aug 2015 18:08:33 +0000 (11:08 -0700)
committerNathan Cutler <ncutler@suse.cz>
Sat, 19 Sep 2015 04:42:08 +0000 (06:42 +0200)
commit48c929e689b0fa5138922fcb959be5d05296e59a
tree0b113461a1ce5ea2b61ffb3344355ab7a35d98a6
parent4b0889567d7fe28ef6976f8dbb0d329b03200986
PG::handle_advance_map: on_pool_change after handling the map change

Otherwise, the is_active() checks in the hitset code can erroneously
return true firing off repops stamped with the new epoch which then get
cleared in the map change code.  The filestore callbacks then pass the
interval check and call into a destroyed repop structure.

Fixes: 12809
Backport: hammer,firefly
Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 14e02bc90a463805f4c3e2de210892067a52514b)
src/osd/PG.cc