From: Sage Weil Date: Thu, 22 Feb 2018 15:18:28 +0000 (-0600) Subject: osd/PG: set send_notify on child X-Git-Tag: v13.1.0~390^2~44 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=334bf7e3dceed080776148555790b60b69527e40;p=ceph.git osd/PG: set send_notify on child If we are a non-primary, we need to ensure the split children send notifies. Signed-off-by: Sage Weil --- diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 4c68bb152db3..9759312bf510 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -2558,6 +2558,8 @@ void PG::split_into(pg_t child_pgid, PG *child, unsigned split_bits) child->on_new_interval(); + child->send_notify = !child->is_primary(); + child->dirty_info = true; child->dirty_big_info = true; dirty_info = true;