summaryrefslogtreecommitdiffstats
path: root/src/rgw/driver/rados/rgw_data_sync.cc
diff options
context:
space:
mode:
authorShilpa Jagannath <smanjara@redhat.com>2024-09-07 03:43:28 +0200
committerShilpa Jagannath <smanjara@redhat.com>2024-09-10 18:56:44 +0200
commited3312085b321a69778747fbda7e9c97206c3b21 (patch)
treec002c615350c79f43a5a116d926f11dd0e00dfa2 /src/rgw/driver/rados/rgw_data_sync.cc
parentrg/multisite: if the first shard fails to sync, we must drain and return error. (diff)
downloadceph-ed3312085b321a69778747fbda7e9c97206c3b21.tar.xz
ceph-ed3312085b321a69778747fbda7e9c97206c3b21.zip
rgw/multisite: drain_all() after notify stack cancel
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
Diffstat (limited to 'src/rgw/driver/rados/rgw_data_sync.cc')
-rw-r--r--src/rgw/driver/rados/rgw_data_sync.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rgw/driver/rados/rgw_data_sync.cc b/src/rgw/driver/rados/rgw_data_sync.cc
index 8ec360b64a3..c509443f800 100644
--- a/src/rgw/driver/rados/rgw_data_sync.cc
+++ b/src/rgw/driver/rados/rgw_data_sync.cc
@@ -2555,6 +2555,7 @@ public:
}
notify_stack->cancel();
+ drain_all();
return set_cr_done();
}