Project

General

Profile

Actions

Bug #66705

closed

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

Added by Casey Bodley almost 2 years ago. Updated 6 months ago.

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

0%

Source:
Backport:
squid
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
backport_processed
Fixed In:
v19.3.0-3240-g0daa092017
Released In:
v20.2.0~2545
Upkeep Timestamp:
2025-11-01T01:35:58+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 open1 closed)

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

Updated by Casey Bodley almost 2 years ago

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

Updated by Casey Bodley almost 2 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #3

Updated by Upkeep Bot almost 2 years ago

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

Updated by Upkeep Bot almost 2 years ago

  • Tags (freeform) set to backport_processed
Actions #5

Updated by Upkeep Bot 10 months ago

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

Updated by Upkeep Bot 9 months ago

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

Updated by Upkeep Bot 6 months ago

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

Also available in: Atom PDF