Daniil Kirilyuk created QPID-8691:
-------------------------------------
Summary: [Broker-J] Increased CPU usage during query evaluation
Key: QPID-8691
URL: https://issues.apache.org/jira/browse/QPID-8691
Project: Qpid
Issue Type: Bug
Components: Broker-J
Affects Versions: qpid-java-broker-9.2.1
Reporter: Daniil Kirilyuk
Fix For: qpid-java-broker-10.0.0
Following query sent on endpoint
POST /api/latest/querybroker/broker
increases CPU consumption depending on count of '%' character in prefix of like
clause:
{code:java}
select count(id) as cnt from queue where upper(name) like ('%%%%%%%xxx%') {code}
Same behavior is observed when calling endpoint
GET /api/latest/querybroker/queue?select=id,name,id&where=name like
'%%%%%%xxx%'&offset=0&limit=100
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]