From 5b35eb8d27ea7bb3aee6d14ad2eaed5f42c1adb0 Mon Sep 17 00:00:00 2001 From: Jie Wang Date: Tue, 1 Dec 2015 09:32:48 +0000 Subject: [PATCH] PG: fix message refcounter in replica_scrub Signed-off-by: Jie Wang --- src/osd/PG.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 263c88bed5f..048a58bcb37 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -3770,7 +3770,6 @@ void PG::replica_scrub( if (last_update_applied < msg->scrub_to) { dout(10) << "waiting for last_update_applied to catch up" << dendl; scrubber.active_rep_scrub = op; - msg->get(); return; }