]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/tools/cephfs_mirror/InstanceWatcher.cc
update ceph source to reef 18.2.1
[ceph.git] / ceph / src / tools / cephfs_mirror / InstanceWatcher.cc
index aeb474274fb4a755d06d1be93842359383f58639..b6a51a141aad19cd3b072b487765e12058d3e7e4 100644 (file)
@@ -116,12 +116,15 @@ void InstanceWatcher::handle_rewatch_complete(int r) {
     dout(0) << ": client blocklisted" <<dendl;
     std::scoped_lock locker(m_lock);
     m_blocklisted = true;
+    m_blocklisted_ts = ceph_clock_now();
   } else if (r == -ENOENT) {
     derr << ": mirroring object deleted" << dendl;
     m_failed = true;
+    m_failed_ts = ceph_clock_now();
   } else if (r < 0) {
     derr << ": rewatch error: " << cpp_strerror(r) << dendl;
     m_failed = true;
+    m_failed_ts = ceph_clock_now();
   }
 }