[ 
https://issues.apache.org/jira/browse/ARTEMIS-1900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16502744#comment-16502744
 ] 

Justin Bertram commented on ARTEMIS-1900:
-----------------------------------------

I was able to trigger the error you've reported here, but I had spin up lots of 
threads which would each subscribe and unsubscribe to the same queue in a loop. 
 The error is caused by a race condition between the auto-create and 
auto-delete logic when subscribing and unsubscribing respectively.  However, 
I'm not sure this actually mimics what your test is doing.  Is there any part 
of your test where one client is subscribing while another is unsubscribing?

Also, if you turn off auto-delete (e.g. using 
{{<auto-delete-queues>false</auto-delete-queues>}}) does the error still happen?

> Unexpected STOMP subscription errors (AMQ339016+AMQ119017)
> ----------------------------------------------------------
>
>                 Key: ARTEMIS-1900
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1900
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Lionel Cons
>            Priority: Major
>
> When stress testing Artemis (latest snapshot) using STOMP, I sometimes see 
> subscription creation errors (AMQ339016). This is not reproducible so this is 
> probably a concurrency issue.
> The STOMP client receives an {{ERROR}} frame that contains in its {{message}} 
> header:
> {code}
> AMQ339016 Error creating subscription xyz
> {code}
> and in its body:
> {code}
> AMQ119017: Queue abc does not exist.
> {code}
> Also, this error is only sent to the client and not logged by the broker. 
> IMHO, every time the broker reports a fatal client error (i.e. STOMP 
> {{ERROR}} frame) it should also log this as a warning on its side. Let me 
> know if this is specific to this case or if I should log a separate Jira 
> issue to track this.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to