Project

General

Profile

Actions

Bug #74144

closed
SM SM

rgw: retry ENOENT if bucket reshard races with index operation

Bug #74144: rgw: retry ENOENT if bucket reshard races with index operation

Added by Shilpa MJ 12 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
squid tentacle
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v20.3.0-5301-gbc11937834
Released In:
v21.2.0~1266
Upkeep Timestamp:
2026-10-24T01:49:10+00:00

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.


Related issues 2 (0 open — 2 closed)

Copied to rgw - Backport #74912: tentacle: rgw: retry ENOENT if bucket reshard races with index operationResolvedShilpa MJ

Actions
Copied to rgw - Backport #74913: squid: rgw: retry ENOENT if bucket reshard races with index operationResolvedShilpa MJ

Actions

UB Updated by Upkeep Bot 10 months ago Actions #1

  • 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

SM Updated by Shilpa MJ 10 months ago Actions #2

  • Status changed from Resolved to Pending Backport
  • Backport set to squid tentacle

UB Updated by Upkeep Bot 10 months ago Actions #3

  • Copied to Backport #74912: tentacle: rgw: retry ENOENT if bucket reshard races with index operation added

UB Updated by Upkeep Bot 10 months ago Actions #4

  • Copied to Backport #74913: squid: rgw: retry ENOENT if bucket reshard races with index operation added

UB Updated by Upkeep Bot 10 months ago Actions #5

  • Tags (freeform) set to backport_processed

UB Updated by Upkeep Bot 3 months ago Actions #6

  • 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 Actions #7

  • 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
Actions

Also available in: PDF Atom