[ https://issues.apache.org/jira/browse/ARTEMIS-3958?focusedWorklogId=803995&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-803995 ]
ASF GitHub Bot logged work on ARTEMIS-3958: ------------------------------------------- Author: ASF GitHub Bot Created on: 26/Aug/22 16:15 Start Date: 26/Aug/22 16:15 Worklog Time Spent: 10m Work Description: jbertram opened a new pull request, #4190: URL: https://github.com/apache/activemq-artemis/pull/4190 Due to the changes in 682f505e32f9b6472665212acd6f58c32c7bf98d we now send "Last Will & Testament" MQTT messages via ServerSession. This means sending will fail if the disk is full. For MQTT this triggers a connection failure which in turns triggers sending an LWT message. This process will recurse infinitely until it results in a java.lang.StackOverflowError. This commit fixes that by tracking whether or not sending a LWT message is already in progress. Issue Time Tracking ------------------- Worklog Id: (was: 803995) Remaining Estimate: 0h Time Spent: 10m > network jitter sendWillMessage will cause java.lang.StackOverflowError > ---------------------------------------------------------------------- > > Key: ARTEMIS-3958 > URL: https://issues.apache.org/jira/browse/ARTEMIS-3958 > Project: ActiveMQ Artemis > Issue Type: Bug > Reporter: gongping.zhu > Assignee: Justin Bertram > Priority: Major > Attachments: StackOverflowError.log > > Time Spent: 10m > Remaining Estimate: 0h > > under network jitter sendWillMessage will cause java.lang.StackOverflowError > it will cause the device to switch back and forth between online and offline -- This message was sent by Atlassian Jira (v8.20.10#820010)