Bug 2121519 - RGW: set chunk size to stripe size if larger than stripe size
Summary: RGW: set chunk size to stripe size if larger than stripe size
Keywords:
Status: ASSIGNED
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RGW
Version: 5.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 8.0
Assignee: Matt Benjamin (redhat)
QA Contact: Madhavi Kasturi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-25 17:50 UTC by Kyle Bader
Modified: 2023-08-16 15:11 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-5152 0 None None None 2022-08-25 18:02:45 UTC

Description Kyle Bader 2022-08-25 17:50:38 UTC
Description of problem:

By default rgw_max_chunk_size is 4MB and rgw_obj_stripe_size is 4MB

rgw_max_chunk_size needs to be <= rgw_obj_stripe_size

If it's not, and a client makes a PutObject call > rgw_obj_stripe_size, then it will fail (closes connection IIRC).

RHCS 5.1

How reproducible:

Easy, see above.

Steps to Reproduce:
1. Wet rgw_max_chunk_size to 16MB
2. Restart RGWs
3. PutObject > 4MB

Actual results:

Exception, connection closed.

Expected results:

RGW log a warning on startup and set rgw_max_chunk_size = rgw_obj_stripe_size if rgw_max_chunk_size > rgw_obj_stripe_size.

Comment 1 RHEL Program Management 2022-08-25 17:50:47 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.


Note You need to log in before you can comment on or make changes to this bug.