]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_cr_rados.cc
import ceph 14.2.5
[ceph.git] / ceph / src / rgw / rgw_cr_rados.cc
index 7284c10dc4e4fe49d8bd17e27756618580fc55e2..66d05e0876e75637a879bb87f54ff033189c3d53 100644 (file)
@@ -836,7 +836,7 @@ int RGWSyncLogTrimCR::request_complete()
     return r;
   }
   // nothing left to trim, update last_trim_marker
-  if (*last_trim_marker < to_marker) {
+  if (*last_trim_marker < to_marker && to_marker != max_marker) {
     *last_trim_marker = to_marker;
   }
   return 0;