]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
journal: reset watch step after pruning expired tag 9173/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 19 May 2016 14:11:12 +0000 (10:11 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 19 May 2016 14:21:44 +0000 (10:21 -0400)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/journal/JournalPlayer.cc

index cb728edea7b8b496b0b7c34d743660272a3769c4..426624c0ad322abe6b3b69418cd53aa9a361a36d 100644 (file)
@@ -494,6 +494,7 @@ bool JournalPlayer::prune_active_tag() {
   uint64_t tag_tid = *m_active_tag_tid;
   m_active_tag_tid = boost::none;
   m_splay_offset = 0;
+  m_watch_step = WATCH_STEP_FETCH_CURRENT;
 
   return prune_tag(tag_tid);
 }