]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd: write pg info after done with peering
authorKefu Chai <kchai@redhat.com>
Tue, 30 Jul 2019 11:42:25 +0000 (19:42 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 12 Aug 2019 10:01:46 +0000 (18:01 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/pg.cc

index 634e2485663266616b3a043397a4f2a71f5ce793..b64f5f0dfb8898225642b1a0730a274e89f04db1 100644 (file)
@@ -260,6 +260,7 @@ void PG::do_peering_event(
   peering_state.handle_event(
     evt,
     &rctx);
+  peering_state.write_if_dirty(rctx.transaction);
 }
 
 void PG::do_peering_event(