From cf21cac951101520a5be12b2dbd14b821aa6b842 Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Tue, 6 Oct 2020 17:59:00 -0400 Subject: [PATCH] rgw: RGWSimpleRadosReadCR copies out objv_tracker Signed-off-by: Casey Bodley --- src/rgw/rgw_cr_rados.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/rgw/rgw_cr_rados.h b/src/rgw/rgw_cr_rados.h index 4697c9379fc81..fa737d07a461b 100644 --- a/src/rgw/rgw_cr_rados.h +++ b/src/rgw/rgw_cr_rados.h @@ -440,6 +440,9 @@ int RGWSimpleRadosReadCR::request_complete() if (ret < 0) { return ret; } + if (objv_tracker) { // copy the updated version + *objv_tracker = req->objv_tracker; + } try { auto iter = req->bl.cbegin(); if (iter.end()) { -- 2.39.5