]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/osd/scrubber/scrub_machine.cc
import ceph quincy 17.2.1
[ceph.git] / ceph / src / osd / scrubber / scrub_machine.cc
index 2610bf351a15029e0d2f79375197178d06072701..7987559d0261f1cd399fd3fc5daa7ae1a0ca2d38 100644 (file)
@@ -435,6 +435,15 @@ sc::result WaitReplicas::react(const GotReplicas&)
   }
 }
 
+sc::result WaitReplicas::react(const DigestUpdate&)
+{
+  DECLARE_LOCALS;  // 'scrbr' & 'pg_id' aliases
+  std::string warn_msg = "WaitReplicas::react(const DigestUpdate&): Unexpected DigestUpdate event";
+  dout(10) << warn_msg << dendl;
+  scrbr->log_cluster_warning(warn_msg);
+  return discard_event();
+}
+
 // ----------------------- WaitDigestUpdate -----------------------------------
 
 WaitDigestUpdate::WaitDigestUpdate(my_context ctx) : my_base(ctx)