]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: Make empty datalog fifo markers empty strings
authorAdam C. Emerson <aemerson@redhat.com>
Thu, 11 Feb 2021 23:27:33 +0000 (18:27 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Mon, 5 Apr 2021 17:48:47 +0000 (13:48 -0400)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit 4e3a7d5476fa2dd4b9825f4d546c42819f93c7cc)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/rgw/rgw_datalog.cc

index 93a27a5639d05f7a77af94ba5d6d80e06881a46a..cb5cba7269fb1497b28cc03e808095b4318a0b5e 100644 (file)
@@ -320,7 +320,7 @@ public:
     fifo.meta(m, null_yield);
     auto p = m.head_part_num;
     if (p < 0) {
-      info->marker = rgw::cls::fifo::marker{}.to_string();
+      info->marker = ""s;
       info->last_update = ceph::real_clock::zero();
       return 0;
     }