diff options
author | Shilpa Jagannath <smanjara@redhat.com> | 2024-09-07 03:43:28 +0200 |
---|---|---|
committer | Shilpa Jagannath <smanjara@redhat.com> | 2024-09-10 18:56:44 +0200 |
commit | ed3312085b321a69778747fbda7e9c97206c3b21 (patch) | |
tree | c002c615350c79f43a5a116d926f11dd0e00dfa2 /src/rgw/driver/rados/rgw_data_sync.cc | |
parent | rg/multisite: if the first shard fails to sync, we must drain and return error. (diff) | |
download | ceph-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.cc | 1 |
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(); } |