]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/ReplicatedPG: do not update current_last_update on activate
authorSage Weil <sage@inktank.com>
Fri, 13 Dec 2013 02:13:58 +0000 (18:13 -0800)
committerSage Weil <sage@inktank.com>
Fri, 13 Dec 2013 02:13:58 +0000 (18:13 -0800)
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 <sage@inktank.com>
src/osd/ReplicatedPG.cc

index 05dec0b229da1a8d04475e7085fa5e068f7a65c5..fb10743c082f48b356e22b3286ef1b69eb352f12 100644 (file)
@@ -8566,7 +8566,6 @@ bool ReplicatedPG::hit_set_apply_log()
     ++p;
   }
 
-  info.hit_set.current_last_update = to;
   return true;
 }