Bug 1426499 - [GSS](6.4.z) HQ222015: Internal error! Delivery logic has identified a non delivery and still handled a consumer!
Summary: [GSS](6.4.z) HQ222015: Internal error! Delivery logic has identified a non de...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: HornetQ
Version: 6.4.11
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Yong Hao Gao
QA Contact: Miroslav Novak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-24 03:58 UTC by matzew
Modified: 2021-06-10 11:58 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-13 15:57:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Apache JIRA ARTEMIS-1459 0 None None None 2017-10-11 01:48:56 UTC
Red Hat Issue Tracker HORNETQ-1563 0 Minor Open QueueImpl.deliver() warning message 2018-10-05 04:31:51 UTC

Description matzew 2017-02-24 03:58:20 UTC
Description of problem:

After upgrading from 6.4.4 to 6.4.11 (hornet 2.3.25.SP14-redhat-1), we are seeing the following:

22:11:17,162 WARN  [org.hornetq.core.server] (Thread-24 (HornetQ-server-HornetQServerImpl::serverUUID=8fda6679-eca6-11e6-82b0-7b59b940a711-756430729)) HQ222015: Internal error! Delivery logic has identified a non delivery and still handled a consumer!


It's on single node machine, and there is no failover, as discussed here:
https://bugzilla.redhat.com/show_bug.cgi?id=1158920
We do have 40/50k load (http requests, where each triggers JMS transaction), per hour.
We do a get a few of those, not lot's of them.
Last night I noticed about 10 or 15 of those, after a 730k load test


Version-Release number of selected component (if applicable):

hornet 2.3.25.SP14-redhat-1

How reproducible:

reproducing is hard, it's happening (randomly) during load-tests


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 matzew 2017-03-13 11:40:18 UTC
not sure I can really provide more, as said, it happened/happens a few times, in larger load

Comment 3 matzew 2017-03-21 08:16:11 UTC
From Miroslav Novak:


I was tracking a message for which: "Internal error! Delivery logic has identified a non delivery and still handled a consumer!" is logged. It seems to be harmless as this message was delivered to consumer in the end. I can see that this message is successfully acked.

The logic is quite complex but it seems that server tried to deliver message to number of consumers on queue jms.queue.BatchLoadedQueue. But those consumers had message selectors and refused this message as it did not match their selector. It seems that last consumer ,to which queue tried to deliver message, consumed this message and then this warning got logged. It seems be problem in the if(...) statement when this warning should be logged.

Comment 8 Yong Hao Gao 2017-10-11 02:06:19 UTC
HORNETQ-1563

Comment 9 Yong Hao Gao 2017-11-08 14:06:02 UTC
Hi, 

As per my investigation, this doesn't affect the messaging at all. It's just an incorrect calculation on the logic. I don't think we need to worry about it.

Howard


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