]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
journal: reset watch step after pruning expired tag 9226/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 19 May 2016 14:11:12 +0000 (10:11 -0400)
committerJason Dillaman <dillaman@redhat.com>
Fri, 20 May 2016 13:01:53 +0000 (09:01 -0400)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 48c2f4e079000021b6ebe807bb1dba0dc1a6a11d)

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);
 }