Project

General

Profile

Actions

Bug #66705

closed
CB CB

s3 Get/HeadObject with partNumber enters infinite loop on multipart uploads with a single part

Bug #66705: s3 Get/HeadObject with partNumber enters infinite loop on multipart uploads with a single part

Added by Casey Bodley over 2 years ago. Updated 3 months ago.

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

0%

Source:
Backport:
squid
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v19.3.0-3240-g0daa092017
Released In:
v20.2.0~2545
Upkeep Timestamp:
2026-08-28T01:38:37+00:00

Description

feature from https://github.com/ceph/ceph/pull/50148 works for 'normal' multipart uploads, but gets stuck in an infinite loop for multipart uploads that only contain a single part

the infinite loop happens here in get_part_obj_state():

  // copy each of the part's stripes into the new manifest. the final call to
  // create_next() uses the starting offset of the next part
  do {
    ++iter;
    gen.create_next(iter.get_ofs() - part_offset);
  } while (iter.get_cur_part_id() == part_num);


Related issues 1 (0 open — 1 closed)

Copied to rgw - Backport #66847: squid: s3 Get/HeadObject with partNumber enters infinite loop on multipart uploads with a single partResolvedCasey Bodley

Actions

CB Updated by Casey Bodley over 2 years ago Actions #1

  • Status changed from New to Fix Under Review
  • Pull request ID set to 58288

CB Updated by Casey Bodley over 2 years ago Actions #2

  • Status changed from Fix Under Review to Pending Backport

UB Updated by Upkeep Bot over 2 years ago Actions #3

  • Copied to Backport #66847: squid: s3 Get/HeadObject with partNumber enters infinite loop on multipart uploads with a single part added

UB Updated by Upkeep Bot over 2 years ago Actions #4

  • Tags (freeform) set to backport_processed

UB Updated by Upkeep Bot over 1 year ago Actions #5

  • Status changed from Pending Backport to Resolved
  • Upkeep Timestamp set to 2025-07-08T18:35:38+00:00

UB Updated by Upkeep Bot over 1 year ago Actions #6

  • Merge Commit set to 0daa0920174aa6baf8d894df1305b2de04e45bb6
  • Fixed In set to v19.3.0-3240-g0daa092017
  • Upkeep Timestamp changed from 2025-07-08T18:35:38+00:00 to 2025-08-02T04:50:39+00:00

UB Updated by Upkeep Bot about 1 year ago Actions #7

  • Released In set to v20.2.0~2545
  • Upkeep Timestamp changed from 2025-08-02T04:50:39+00:00 to 2025-11-01T01:35:58+00:00

UB Updated by Upkeep Bot 3 months ago Actions #8

  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2025-11-01T01:35:58+00:00 to 2026-08-28T01:38:37+00:00
Actions

Also available in: PDF Atom