Bug #74144
closedrgw: retry ENOENT if bucket reshard races with index operation
0%
Description
this was reported in a multisite cluster, where some objects on secondary site were missing.
analysis:
corresponding errors on secondary zone against those objects:
2025-12-05T12:56:43.513+0000 7f3ce8586640 0 rgw async rados processor: ERROR: bucket shard callback failed. obj=compact-test/adhoc/90+/*pri-object*test1000005. ret=(2) No such file or directory
2025-12-05T12:56:43.513+0000 7f3cf1d99640 0 rgw async rados processor: store->fetch_remote_obj() returned r=-2
a race can occur between a BucketShard::init() and bucket shard callback function:
1. bs->init() succeeds for the thread updating bucket index
2. reshard thread deletes the bucket shard object
3. call(bs) tried to access the now older shard and returned ENOENT, exiting the retry loop.
UB Updated by Upkeep Bot 10 months ago
- Status changed from Fix Under Review to Resolved
- Merge Commit set to bc119378344a327e63d44e7ce013743a9fd647c4
- Fixed In set to v20.3.0-5301-gbc11937834
- Upkeep Timestamp set to 2026-02-12T19:58:14+00:00
UB Updated by Upkeep Bot 10 months ago
- Copied to Backport #74912: tentacle: rgw: retry ENOENT if bucket reshard races with index operation added
UB Updated by Upkeep Bot 10 months ago
- Copied to Backport #74913: squid: rgw: retry ENOENT if bucket reshard races with index operation added
UB Updated by Upkeep Bot 10 months ago
- Tags (freeform) set to backport_processed
UB Updated by Upkeep Bot 3 months ago
- Status changed from Pending Backport to Resolved
- Tags (freeform) deleted (
backport_processed) - Upkeep Timestamp changed from 2026-02-12T19:58:14+00:00 to 2026-08-27T18:25:39+00:00
UB Updated by Upkeep Bot about 1 month ago
- Released In set to v21.2.0~1266
- Upkeep Timestamp changed from 2026-08-27T18:25:39+00:00 to 2026-10-24T01:49:10+00:00