[jira] [Commented] (ARTEMIS-3135) AMQ222214: Destination q has an inconsistent and negative address size=-6
[ https://issues.apache.org/jira/browse/ARTEMIS-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17290271#comment-17290271 ] Justin Bertram commented on ARTEMIS-3135: - ARTEMIS-2802 has not been resolved yet so it's expected that you'd still see {{AMQ224006}}. As noted, a PR for this has been sent, but it has _not_ been merged. > AMQ14: Destination q has an inconsistent and negative address size=-6 > - > > Key: ARTEMIS-3135 > URL: https://issues.apache.org/jira/browse/ARTEMIS-3135 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: Broker >Affects Versions: 2.17.0 >Reporter: Erwin Dondorp >Assignee: Gary Tully >Priority: Major > Fix For: 2.18.0 > > Attachments: broker.xml > > Time Spent: 1h > Remaining Estimate: 0h > > The following messages appear after sending a message and then manual > deleting it using the GUI: > {{AMQ14: Destination q has an inconsistent and negative address size=-6}} > and > {{AMQ15: Global Address Size has negative and inconsistent value as -6}} > The file {{broker.xml}} is almost pristine, except for the addition of > anycast destination {{q}}: > {code:xml} > > > > > > {code} > The message that was sent is a simple text message sent using the AMQP > protocol to this queue. > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ARTEMIS-3135) AMQ222214: Destination q has an inconsistent and negative address size=-6
[ https://issues.apache.org/jira/browse/ARTEMIS-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17290267#comment-17290267 ] Erwin Dondorp commented on ARTEMIS-3135: [~gtully] apache-artemis-2.18.0-20210224.161510-12 does not show AMQ14/AMQ15 (-ve address size) any more with my testcases. so job well done! It still shows AMQ224006 (Invalid filter: hyphenated_props:federation-name). You indicated that it is handled in ARTEMIS-2802, so I will not discuss that further here. But thanks for the pointer! > AMQ14: Destination q has an inconsistent and negative address size=-6 > - > > Key: ARTEMIS-3135 > URL: https://issues.apache.org/jira/browse/ARTEMIS-3135 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: Broker >Affects Versions: 2.17.0 >Reporter: Erwin Dondorp >Assignee: Gary Tully >Priority: Major > Fix For: 2.18.0 > > Attachments: broker.xml > > Time Spent: 1h > Remaining Estimate: 0h > > The following messages appear after sending a message and then manual > deleting it using the GUI: > {{AMQ14: Destination q has an inconsistent and negative address size=-6}} > and > {{AMQ15: Global Address Size has negative and inconsistent value as -6}} > The file {{broker.xml}} is almost pristine, except for the addition of > anycast destination {{q}}: > {code:xml} > > > > > > {code} > The message that was sent is a simple text message sent using the AMQP > protocol to this queue. > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ARTEMIS-3135) AMQ222214: Destination q has an inconsistent and negative address size=-6
[ https://issues.apache.org/jira/browse/ARTEMIS-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17290076#comment-17290076 ] Justin Bertram commented on ARTEMIS-3135: - [~erwindon], public nightly snapshot builds are available at https://repository.apache.org/content/repositories/snapshots/org/apache/activemq/apache-artemis/. > AMQ14: Destination q has an inconsistent and negative address size=-6 > - > > Key: ARTEMIS-3135 > URL: https://issues.apache.org/jira/browse/ARTEMIS-3135 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: Broker >Affects Versions: 2.17.0 >Reporter: Erwin Dondorp >Assignee: Gary Tully >Priority: Major > Fix For: 2.18.0 > > Attachments: broker.xml > > Time Spent: 1h > Remaining Estimate: 0h > > The following messages appear after sending a message and then manual > deleting it using the GUI: > {{AMQ14: Destination q has an inconsistent and negative address size=-6}} > and > {{AMQ15: Global Address Size has negative and inconsistent value as -6}} > The file {{broker.xml}} is almost pristine, except for the addition of > anycast destination {{q}}: > {code:xml} > > > > > > {code} > The message that was sent is a simple text message sent using the AMQP > protocol to this queue. > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ARTEMIS-3135) AMQ222214: Destination q has an inconsistent and negative address size=-6
[ https://issues.apache.org/jira/browse/ARTEMIS-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17290070#comment-17290070 ] Erwin Dondorp commented on ARTEMIS-3135: [~gtully] [~jbertram] good to hear these are all known issues that have been worked on. I'll try the snapshot build. Are these available publicly? If not, I'll use my own build. > AMQ14: Destination q has an inconsistent and negative address size=-6 > - > > Key: ARTEMIS-3135 > URL: https://issues.apache.org/jira/browse/ARTEMIS-3135 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: Broker >Affects Versions: 2.17.0 >Reporter: Erwin Dondorp >Assignee: Gary Tully >Priority: Major > Fix For: 2.18.0 > > Attachments: broker.xml > > Time Spent: 1h > Remaining Estimate: 0h > > The following messages appear after sending a message and then manual > deleting it using the GUI: > {{AMQ14: Destination q has an inconsistent and negative address size=-6}} > and > {{AMQ15: Global Address Size has negative and inconsistent value as -6}} > The file {{broker.xml}} is almost pristine, except for the addition of > anycast destination {{q}}: > {code:xml} > > > > > > {code} > The message that was sent is a simple text message sent using the AMQP > protocol to this queue. > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ARTEMIS-3135) AMQ222214: Destination q has an inconsistent and negative address size=-6
[ https://issues.apache.org/jira/browse/ARTEMIS-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17290039#comment-17290039 ] Gary Tully commented on ARTEMIS-3135: - [~erwindon] I have reworked the fix to be more direct, which avoids the need for checks at various points in the code, which should sort the federation cause also. if you get a chance, possibly you could verify the next snapshot build > AMQ14: Destination q has an inconsistent and negative address size=-6 > - > > Key: ARTEMIS-3135 > URL: https://issues.apache.org/jira/browse/ARTEMIS-3135 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: Broker >Affects Versions: 2.17.0 >Reporter: Erwin Dondorp >Assignee: Gary Tully >Priority: Major > Fix For: 2.18.0 > > Attachments: broker.xml > > Time Spent: 1h > Remaining Estimate: 0h > > The following messages appear after sending a message and then manual > deleting it using the GUI: > {{AMQ14: Destination q has an inconsistent and negative address size=-6}} > and > {{AMQ15: Global Address Size has negative and inconsistent value as -6}} > The file {{broker.xml}} is almost pristine, except for the addition of > anycast destination {{q}}: > {code:xml} > > > > > > {code} > The message that was sent is a simple text message sent using the AMQP > protocol to this queue. > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ARTEMIS-3135) AMQ222214: Destination q has an inconsistent and negative address size=-6
[ https://issues.apache.org/jira/browse/ARTEMIS-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17290034#comment-17290034 ] ASF subversion and git services commented on ARTEMIS-3135: -- Commit a0ce3812bae68fdee2354fc265960b63ccc6e08e in activemq-artemis's branch refs/heads/master from gtully [ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=a0ce381 ] ARTEMIS-3067, ARTEMIS-3135 - rework accounting for lazy decoding by directly referencing the owning page store, owner now tracked on a message rather than the message reference. This avoids the error prone checks around potential decoding sites > AMQ14: Destination q has an inconsistent and negative address size=-6 > - > > Key: ARTEMIS-3135 > URL: https://issues.apache.org/jira/browse/ARTEMIS-3135 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: Broker >Affects Versions: 2.17.0 >Reporter: Erwin Dondorp >Assignee: Gary Tully >Priority: Major > Fix For: 2.18.0 > > Attachments: broker.xml > > Time Spent: 1h > Remaining Estimate: 0h > > The following messages appear after sending a message and then manual > deleting it using the GUI: > {{AMQ14: Destination q has an inconsistent and negative address size=-6}} > and > {{AMQ15: Global Address Size has negative and inconsistent value as -6}} > The file {{broker.xml}} is almost pristine, except for the addition of > anycast destination {{q}}: > {code:xml} > > > > > > {code} > The message that was sent is a simple text message sent using the AMQP > protocol to this queue. > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ARTEMIS-3135) AMQ222214: Destination q has an inconsistent and negative address size=-6
[ https://issues.apache.org/jira/browse/ARTEMIS-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17290029#comment-17290029 ] Justin Bertram commented on ARTEMIS-3135: - FWIW, I believe the invalid filter thing is ARTEMIS-2802 (for which a PR has already been sent). > AMQ14: Destination q has an inconsistent and negative address size=-6 > - > > Key: ARTEMIS-3135 > URL: https://issues.apache.org/jira/browse/ARTEMIS-3135 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: Broker >Affects Versions: 2.17.0 >Reporter: Erwin Dondorp >Assignee: Gary Tully >Priority: Major > Fix For: 2.18.0 > > Attachments: broker.xml > > Time Spent: 1h > Remaining Estimate: 0h > > The following messages appear after sending a message and then manual > deleting it using the GUI: > {{AMQ14: Destination q has an inconsistent and negative address size=-6}} > and > {{AMQ15: Global Address Size has negative and inconsistent value as -6}} > The file {{broker.xml}} is almost pristine, except for the addition of > anycast destination {{q}}. > using simply {{ name="q"/>}} > The message that was sent is a simple text message sent using the AMQP > protocol to this queue. > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ARTEMIS-3135) AMQ222214: Destination q has an inconsistent and negative address size=-6
[ https://issues.apache.org/jira/browse/ARTEMIS-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17290023#comment-17290023 ] Erwin Dondorp commented on ARTEMIS-3135: [~gtully] I just encountered a new instance of this bug. without using manual delete or any other gui/jmx function. now in the area of queue (not address) federation. only happens for the upstream-stream part. AMQ14 (Destination Q has an inconsistent and negative address size=-18) and AMQ15 (Global Address Size has negative and inconsistent value as -18) appear on the sending side. In the same session, AMQ224006 (Invalid filter: hyphenated_props:federation-name IS NOT NULL) appears on the receiving side. how to proceed? > AMQ14: Destination q has an inconsistent and negative address size=-6 > - > > Key: ARTEMIS-3135 > URL: https://issues.apache.org/jira/browse/ARTEMIS-3135 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: Broker >Affects Versions: 2.17.0 >Reporter: Erwin Dondorp >Assignee: Gary Tully >Priority: Major > Fix For: 2.18.0 > > Attachments: broker.xml > > Time Spent: 1h > Remaining Estimate: 0h > > The following messages appear after sending a message and then manual > deleting it using the GUI: > {{AMQ14: Destination q has an inconsistent and negative address size=-6}} > and > {{AMQ15: Global Address Size has negative and inconsistent value as -6}} > The file {{broker.xml}} is almost pristine, except for the addition of > anycast destination {{q}}. > using simply {{ name="q"/>}} > The message that was sent is a simple text message sent using the AMQP > protocol to this queue. > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ARTEMIS-3135) AMQ222214: Destination q has an inconsistent and negative address size=-6
[ https://issues.apache.org/jira/browse/ARTEMIS-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17289272#comment-17289272 ] ASF subversion and git services commented on ARTEMIS-3135: -- Commit 66040b009c5f3bedd43395ac7fb0e9ebda790e0f in activemq-artemis's branch refs/heads/master from Clebert Suconic [ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=66040b0 ] ARTEMIS-3135 Fixing intermittent test failure > AMQ14: Destination q has an inconsistent and negative address size=-6 > - > > Key: ARTEMIS-3135 > URL: https://issues.apache.org/jira/browse/ARTEMIS-3135 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: Broker >Affects Versions: 2.17.0 >Reporter: Erwin Dondorp >Assignee: Gary Tully >Priority: Major > Fix For: 2.18.0 > > Attachments: broker.xml > > Time Spent: 50m > Remaining Estimate: 0h > > The following messages appear after sending a message and then manual > deleting it using the GUI: > {{AMQ14: Destination q has an inconsistent and negative address size=-6}} > and > {{AMQ15: Global Address Size has negative and inconsistent value as -6}} > The file {{broker.xml}} is almost pristine, except for the addition of > anycast destination {{q}}. > using simply {{ name="q"/>}} > The message that was sent is a simple text message sent using the AMQP > protocol to this queue. > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ARTEMIS-3135) AMQ222214: Destination q has an inconsistent and negative address size=-6
[ https://issues.apache.org/jira/browse/ARTEMIS-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17289136#comment-17289136 ] ASF subversion and git services commented on ARTEMIS-3135: -- Commit a56ade38b4e6cad18418ecb78c9d4f92fe06df4a in activemq-artemis's branch refs/heads/master from gtully [ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=a56ade3 ] ARTEMIS-3135 - track possible change in memory estimate when messages are converted to maps for JMX or UI display, follows up from ARTEMIS-3067 > AMQ14: Destination q has an inconsistent and negative address size=-6 > - > > Key: ARTEMIS-3135 > URL: https://issues.apache.org/jira/browse/ARTEMIS-3135 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: Broker >Affects Versions: 2.17.0 >Reporter: Erwin Dondorp >Assignee: Gary Tully >Priority: Major > Attachments: broker.xml > > Time Spent: 10m > Remaining Estimate: 0h > > The following messages appear after sending a message and then manual > deleting it using the GUI: > {{AMQ14: Destination q has an inconsistent and negative address size=-6}} > and > {{AMQ15: Global Address Size has negative and inconsistent value as -6}} > The file {{broker.xml}} is almost pristine, except for the addition of > anycast destination {{q}}. > using simply {{ name="q"/>}} > The message that was sent is a simple text message sent using the AMQP > protocol to this queue. > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ARTEMIS-3135) AMQ222214: Destination q has an inconsistent and negative address size=-6
[ https://issues.apache.org/jira/browse/ARTEMIS-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288667#comment-17288667 ] Erwin Dondorp commented on ARTEMIS-3135: [~gtully] thanks for the explanation! I will not reduce the priority of this issue, nor of the same issue in my shadow administration. I'm confident that the issue is now in good hands. > AMQ14: Destination q has an inconsistent and negative address size=-6 > - > > Key: ARTEMIS-3135 > URL: https://issues.apache.org/jira/browse/ARTEMIS-3135 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: Broker >Affects Versions: 2.17.0 >Reporter: Erwin Dondorp >Assignee: Gary Tully >Priority: Major > Attachments: broker.xml > > > The following messages appear after sending a message and then manual > deleting it using the GUI: > {{AMQ14: Destination q has an inconsistent and negative address size=-6}} > and > {{AMQ15: Global Address Size has negative and inconsistent value as -6}} > The file {{broker.xml}} is almost pristine, except for the addition of > anycast destination {{q}}. > using simply {{ name="q"/>}} > The message that was sent is a simple text message sent using the AMQP > protocol to this queue. > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ARTEMIS-3135) AMQ222214: Destination q has an inconsistent and negative address size=-6
[ https://issues.apache.org/jira/browse/ARTEMIS-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288660#comment-17288660 ] Gary Tully commented on ARTEMIS-3135: - [~erwindon] thanks for your efforts to create a reproducer, it is much appreciated. The effect will be concrete in the way that it effects paging, it is not just cosmetic. The idea is that we increment memory usage with the size of the message on entry and decrease when the message is removed. In the past this value would not change and memory used for decoded content was not accounted for leading to paging not kicking in on time and potential for OOM. For users that keep lots of real data in the application properties rather than the message body, this was a serious issue. With the fix for ARTEMIS-3067, the estimate can change when content is lazy decoded. In most of the cases this has been tracked and the usage adjusted such that the decrement on removal will match the value incremented on entry. However I did not consider the UI/JMX and your scenario was not covered by existing tests, it was missed! The implication is that memory tracked will again be less than reality (because the counter will have to first go positive) and the same OOM can occur if lots of the messages are in play. However if the values are low, in your case less than 10bytes per message, it may not be a significant issue and if the messages are not browsed, it won't occur. > AMQ14: Destination q has an inconsistent and negative address size=-6 > - > > Key: ARTEMIS-3135 > URL: https://issues.apache.org/jira/browse/ARTEMIS-3135 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: Broker >Affects Versions: 2.17.0 >Reporter: Erwin Dondorp >Assignee: Gary Tully >Priority: Major > Attachments: broker.xml > > > The following messages appear after sending a message and then manual > deleting it using the GUI: > {{AMQ14: Destination q has an inconsistent and negative address size=-6}} > and > {{AMQ15: Global Address Size has negative and inconsistent value as -6}} > The file {{broker.xml}} is almost pristine, except for the addition of > anycast destination {{q}}. > using simply {{ name="q"/>}} > The message that was sent is a simple text message sent using the AMQP > protocol to this queue. > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ARTEMIS-3135) AMQ222214: Destination q has an inconsistent and negative address size=-6
[ https://issues.apache.org/jira/browse/ARTEMIS-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288630#comment-17288630 ] Erwin Dondorp commented on ARTEMIS-3135: [~gtully] can you indicate what the risks are for the broker? is the broker administration corrupted after this, or is this more a cosmetic issue? > AMQ14: Destination q has an inconsistent and negative address size=-6 > - > > Key: ARTEMIS-3135 > URL: https://issues.apache.org/jira/browse/ARTEMIS-3135 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: Broker >Affects Versions: 2.17.0 >Reporter: Erwin Dondorp >Assignee: Gary Tully >Priority: Major > Attachments: broker.xml > > > The following messages appear after sending a message and then manual > deleting it using the GUI: > {{AMQ14: Destination q has an inconsistent and negative address size=-6}} > and > {{AMQ15: Global Address Size has negative and inconsistent value as -6}} > The file {{broker.xml}} is almost pristine, except for the addition of > anycast destination {{q}}. > using simply {{ name="q"/>}} > The message that was sent is a simple text message sent using the AMQP > protocol to this queue. > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ARTEMIS-3135) AMQ222214: Destination q has an inconsistent and negative address size=-6
[ https://issues.apache.org/jira/browse/ARTEMIS-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288624#comment-17288624 ] Gary Tully commented on ARTEMIS-3135: - This issues is caused by ARTEMIS-3067, the memory estimate can change via the org.apache.activemq.artemis.api.core.Message#toMap which is called to create the JSON representation for the UI. We need to wrap such calls with the compensation to adjust the memory usage for the page store in the same was as we do around filter evaluation that can lazy decode the properties. > AMQ14: Destination q has an inconsistent and negative address size=-6 > - > > Key: ARTEMIS-3135 > URL: https://issues.apache.org/jira/browse/ARTEMIS-3135 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: Broker >Affects Versions: 2.17.0 >Reporter: Erwin Dondorp >Priority: Major > Attachments: broker.xml > > > The following messages appear after sending a message and then manual > deleting it using the GUI: > {{AMQ14: Destination q has an inconsistent and negative address size=-6}} > and > {{AMQ15: Global Address Size has negative and inconsistent value as -6}} > The file {{broker.xml}} is almost pristine, except for the addition of > anycast destination {{q}}. > using simply {{ name="q"/>}} > The message that was sent is a simple text message sent using the AMQP > protocol to this queue. > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ARTEMIS-3135) AMQ222214: Destination q has an inconsistent and negative address size=-6
[ https://issues.apache.org/jira/browse/ARTEMIS-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17288605#comment-17288605 ] Erwin Dondorp commented on ARTEMIS-3135: [~gtully] fyi > AMQ14: Destination q has an inconsistent and negative address size=-6 > - > > Key: ARTEMIS-3135 > URL: https://issues.apache.org/jira/browse/ARTEMIS-3135 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: Broker >Affects Versions: 2.17.0 >Reporter: Erwin Dondorp >Priority: Major > Attachments: broker.xml > > > The following messages appear after sending a message and then manual > deleting it using the GUI: > {{AMQ14: Destination q has an inconsistent and negative address size=-6}} > and > {{AMQ15: Global Address Size has negative and inconsistent value as -6}} > The file {{broker.xml}} is almost pristine, except for the addition of > anycast destination {{q}}. > using simply {{ name="q"/>}} > The message that was sent is a simple text message sent using the AMQP > protocol to this queue. > -- This message was sent by Atlassian Jira (v8.3.4#803005)