]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw/cloud-transition: yield in cloud_tier_bucket_exists HEAD
authorMatthew N. Heler <matthew.heler@hotmail.com>
Mon, 20 Apr 2026 21:25:47 +0000 (16:25 -0500)
committerMatthew N. Heler <matthew.heler@hotmail.com>
Thu, 30 Apr 2026 15:36:25 +0000 (10:36 -0500)
The HEAD request used null_yield, so every attempt (including the
retries added by retry_on_busy) blocked the LC worker thread for
the full HTTP timeout instead of yielding.

Signed-off-by: Matthew N. Heler <matthew.heler@hotmail.com>
src/rgw/driver/rados/rgw_lc_tier.cc

index 5ed69147777889f0b41ad169ab3cdf848676aa60..6362176464a8ccac578c44064ecbd646fc5769de 100644 (file)
@@ -1479,7 +1479,7 @@ static int cloud_tier_bucket_exists(RGWLCCloudTierCtx& tier_ctx)
 
   int ret = tier_ctx.conn.send_resource(tier_ctx.dpp, "HEAD", resource,
                                         nullptr, nullptr, out_bl, nullptr,
-                                        nullptr, null_yield);
+                                        nullptr, tier_ctx.y);
   if (ret == -ERR_NO_SUCH_BUCKET || ret == -ENOENT) {
     return -ENOENT;
   }