Bug 2246150 - [Workload-DFG] RGW crashed due to illegal calculation (exception)
Summary: [Workload-DFG] RGW crashed due to illegal calculation (exception)
Keywords:
Status: CLOSED COMPLETED
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RGW
Version: 7.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 7.0
Assignee: gal salomon
QA Contact: Tim Wilkinson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-10-25 15:10 UTC by Tim Wilkinson
Modified: 2024-02-06 11:57 UTC (History)
7 users (show)

Fixed In Version: ceph-18.2.0-127.el9cp
Doc Type: Bug Fix
Doc Text:
.SQL engine no longer causes Ceph Object Gateway crash with illegal calculations Previously, in some cases, the SQL engine would throw an exception that was not handled, causing a Ceph Object Gateway crash. This was caused due to an illegal SQL calculation of a date-time operation. With this fix, the exception is handled with an emitted error message, instead of crashing.
Clone Of:
Environment:
Last Closed: 2023-11-20 18:35:59 UTC
Embargoed:
rpollack: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-7775 0 None None None 2023-10-25 15:13:00 UTC

Description Tim Wilkinson 2023-10-25 15:10:32 UTC
Created attachment 1995419 [details]
RGW log

Comment 4 gal salomon 2023-10-26 05:59:34 UTC
"select DATE_DIFF(SECOND, utcnow(),date_add(year,1111111111111111111, utcnow())) from s3object limit 4;"
cause a crash due to illegal calculation (exception)

the title of this bug report should changed,

Comment 5 gal salomon 2023-11-02 07:32:29 UTC
the issue is resolved in the following PR
https://github.com/ceph/ceph/pull/54298


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