Skip to content

Commit

Permalink
Merge pull request ceph#58491 from cbodley/wip-66880
Browse files Browse the repository at this point in the history
rgw/datalog: fix LazyFIFO race fix

Reviewed-by: Shilpa Jagannath <[email protected]>
Reviewed-by: Adam Emerson <[email protected]>
  • Loading branch information
cbodley authored Jul 11, 2024
2 parents 0325fd3 + 5dfbaac commit d622325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rgw/driver/rados/rgw_log_backing.h
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ class LazyFIFO {
// FIFO supports multiple clients by design, so it's safe to
// race to create them.
std::unique_ptr<rgw::cls::fifo::FIFO> fifo_tmp;
auto r = rgw::cls::fifo::FIFO::create(dpp, ioctx, oid, &fifo, y);
auto r = rgw::cls::fifo::FIFO::create(dpp, ioctx, oid, &fifo_tmp, y);
if (r) {
return r;
}
Expand Down

0 comments on commit d622325

Please sign in to comment.