You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by ldebello <lu...@hotmail.com> on 2019/05/23 19:22:45 UTC

Artemis 2.7.0 Cluster Redistribution Issue

Hi guys,

We are trying to migrate from 2.6.3 to 2.7.0 and we hit an issue with
cluster redistribution, I have filed a jira ticket
https://issues.apache.org/jira/browse/ARTEMIS-2355 and create an automatic
test, I am trying to debug the issue but I would like some lights to
understand where can I start looking I am almost sure the issue is related
to routing type.

Thanks in advance.

Regards,
Luis



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Artemis 2.7.0 Cluster Redistribution Issue

Posted by "michael.andre.pearce" <mi...@me.com.INVALID>.
But where its breaking existing features people rely on. Maybe a toggle needs adding, where default allows old behaviours so that users dont get shock behaviour changes.  Sent from my Samsung Galaxy smartphone.
-------- Original message --------From: Clebert Suconic <cl...@gmail.com> Date: 26/05/2019  17:53  (GMT+00:00) To: dev@activemq.apache.org Subject: Re: Artemis 2.7.0 Cluster Redistribution Issue To what is worth. We had a few AMQP purist developers complaining about reencoding messages.  And quite a few users about not working as theyexpected.On Sun, May 26, 2019 at 1:53 AM michael.andre.pearce<mi...@me.com.invalid> wrote:> Seems that change is causing a number of issues. Someone flagged> transformer, also if message is paged flags set are not preserved either> after depaging.Sent from my Samsung Galaxy smartphone.> -------- Original message --------From: Clebert Suconic <> clebert.suconic@gmail.com> Date: 26/05/2019  05:18  (GMT+00:00) To:> users@activemq.apache.org Subject: Re: Artemis 2.7.0 Cluster> Redistribution Issue Can I get a version of your test working.The best way> would be in a fork on your GitHub. I can take a look earlynext week.On Sat,> May 25, 2019 at 9:52 AM ldebello <lu...@hotmail.com> wrote:> Hi,>>> After some debugging + going back in commits the issue start happening>> after> this commit>>>> https://github.com/apache/activemq-artemis/commit/6a64f4e7a270f83c735200d6ef29561ef4927535#diff-4a5cefc3ba360bce9985ad42fc0c2231R698>>> I am assuming the redistribution is not "encoding" or updating the message>> to multicast because the buffer is already valid and in previous version>> reencode all the time so the message was ok>>>> --> Sent from:>> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html>--> Clebert Suconic-- Clebert Suconic

Re: Artemis 2.7.0 Cluster Redistribution Issue

Posted by Clebert Suconic <cl...@gmail.com>.
To what is worth. We had a few AMQP purist developers complaining about re
encoding messages.  And quite a few users about not working as they
expected.

On Sun, May 26, 2019 at 1:53 AM michael.andre.pearce
<mi...@me.com.invalid> wrote:

> Seems that change is causing a number of issues. Someone flagged
> transformer, also if message is paged flags set are not preserved either
> after depaging.Sent from my Samsung Galaxy smartphone.
> -------- Original message --------From: Clebert Suconic <
> clebert.suconic@gmail.com> Date: 26/05/2019  05:18  (GMT+00:00) To:
> users@activemq.apache.org Subject: Re: Artemis 2.7.0 Cluster
> Redistribution Issue Can I get a version of your test working.The best way
> would be in a fork on your GitHub. I can take a look earlynext week.On Sat,
> May 25, 2019 at 9:52 AM ldebello <lu...@hotmail.com> wrote:> Hi,>>
> After some debugging + going back in commits the issue start happening>
> after> this commit>>>
> https://github.com/apache/activemq-artemis/commit/6a64f4e7a270f83c735200d6ef29561ef4927535#diff-4a5cefc3ba360bce9985ad42fc0c2231R698>>
> I am assuming the redistribution is not "encoding" or updating the message>
> to multicast because the buffer is already valid and in previous version>
> reencode all the time so the message was ok>>>> --> Sent from:>
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html>--
> Clebert Suconic

-- 
Clebert Suconic

Re: Artemis 2.7.0 Cluster Redistribution Issue

Posted by ldebello <lu...@hotmail.com>.
Hi,

I have just send a PR for this
ttps://github.com/apache/activemq-artemis/pull/2682 and I have added some
comment in the JIRA to explain the reason of the change and the alternative.



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Artemis 2.7.0 Cluster Redistribution Issue

Posted by "michael.andre.pearce" <mi...@me.com.INVALID>.
Seems that change is causing a number of issues. Someone flagged transformer, also if message is paged flags set are not preserved either after depaging.Sent from my Samsung Galaxy smartphone.
-------- Original message --------From: Clebert Suconic <cl...@gmail.com> Date: 26/05/2019  05:18  (GMT+00:00) To: users@activemq.apache.org Subject: Re: Artemis 2.7.0 Cluster Redistribution Issue Can I get a version of your test working.The best way would be in a fork on your GitHub. I can take a look earlynext week.On Sat, May 25, 2019 at 9:52 AM ldebello <lu...@hotmail.com> wrote:> Hi,>> After some debugging + going back in commits the issue start happening> after> this commit>>> https://github.com/apache/activemq-artemis/commit/6a64f4e7a270f83c735200d6ef29561ef4927535#diff-4a5cefc3ba360bce9985ad42fc0c2231R698>> I am assuming the redistribution is not "encoding" or updating the message> to multicast because the buffer is already valid and in previous version> reencode all the time so the message was ok>>>> --> Sent from:> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html>-- Clebert Suconic

Re: Artemis 2.7.0 Cluster Redistribution Issue

Posted by Clebert Suconic <cl...@gmail.com>.
Can I get a version of your test working.


The best way would be in a fork on your GitHub. I can take a look early
next week.

On Sat, May 25, 2019 at 9:52 AM ldebello <lu...@hotmail.com> wrote:

> Hi,
>
> After some debugging + going back in commits the issue start happening
> after
> this commit
>
>
> https://github.com/apache/activemq-artemis/commit/6a64f4e7a270f83c735200d6ef29561ef4927535#diff-4a5cefc3ba360bce9985ad42fc0c2231R698
>
> I am assuming the redistribution is not "encoding" or updating the message
> to multicast because the buffer is already valid and in previous version
> reencode all the time so the message was ok
>
>
>
> --
> Sent from:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
>
-- 
Clebert Suconic

Re: Artemis 2.7.0 Cluster Redistribution Issue

Posted by ldebello <lu...@hotmail.com>.
Hi,

After some debugging + going back in commits the issue start happening after
this commit 

https://github.com/apache/activemq-artemis/commit/6a64f4e7a270f83c735200d6ef29561ef4927535#diff-4a5cefc3ba360bce9985ad42fc0c2231R698

I am assuming the redistribution is not "encoding" or updating the message
to multicast because the buffer is already valid and in previous version
reencode all the time so the message was ok



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html