]> 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, 29 Mar 2021 16:25:58 +0000 (12:25 -0400)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/rgw/rgw_datalog.cc

index 0f2be19d066003f11dfc16c9b4a5d2985eded689..c8f7fabe6e092fbf7034dfcef7b6b0978fb2d561 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;
     }