You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (JIRA)" <ji...@apache.org> on 2017/06/02 13:32:04 UTC

[jira] [Resolved] (ARTEMIS-1203) possible loss of messages in cluster

     [ https://issues.apache.org/jira/browse/ARTEMIS-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Bertram resolved ARTEMIS-1203.
-------------------------------------
    Resolution: Incomplete

Please ask questions like this on the mailing list rather than opening a JIRA.  JIRA is generally reserved for confirmed bugs, and this isn't confirmed.  I've got some questions for you about your configuration, but I'll save those for the mailing list when you ask there.  Thanks!

> possible loss of messages in cluster
> ------------------------------------
>
>                 Key: ARTEMIS-1203
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1203
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: razvan tanasescu
>
> Not entirely sure if the following behavior is as expected or is a bug.
> steps
> ----
> start 2 servers similar to cluster-static-discovery example
> but with <message-load-balancing>ON_DEMAND</message-load-balancing>
> producer_1 sending messages to server1 on a queue
> consumer_1 start on server 1
> consumer_2 start on server 2 -> messages begin being balanced
> kill consumer_2 -> for a while, consumer_1 receives every one of two messages as if messages are being still balanced then consumer_1 consecutive messages.
> restart after a long time consumer_2 -> consumer_2 receives messages balanced on server_2
> ----
> not sure if it's a valid usecase, but in case i never start again the consumer_2 those messages will not be consumed.
> i've noticed that if i have only one server and multiple consumers, if i kill one of the consumers, after a while, the messages that were supposed to reach that killed consumer are eventually consumed by the other active consumers so i was expecting the same behavior in a cluster configuration with ON_DEMAND message balancing.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)