From b6871cf8bf809e5535a596e8e2969f0bea106ed7 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 12 Dec 2013 18:13:58 -0800 Subject: [PATCH] osd/ReplicatedPG: do not update current_last_update on activate Don't update this when we apply the log to our in-memory hitset! We should only update this when we persist something to disk. Signed-off-by: Sage Weil --- src/osd/ReplicatedPG.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index 05dec0b229da1..fb10743c082f4 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -8566,7 +8566,6 @@ bool ReplicatedPG::hit_set_apply_log() ++p; } - info.hit_set.current_last_update = to; return true; } -- 2.39.5