Dan Smith created GEODE-5359: -------------------------------- Summary: Infinite loop when a thread is interrupting during messaging Key: GEODE-5359 URL: https://issues.apache.org/jira/browse/GEODE-5359 Project: Geode Issue Type: Bug Components: messaging Reporter: Dan Smith
This is similar to GEODE-5358, but it has a much easier fix. If a thread is interrupted while sending a message, it can get into an infinite loop because we keep reinterrupting the same thread and never clear the interrupt bit. The culprit is this line in DirectChannel.sendToMany {noformat} interrupted = interrupted || Thread.interrupted();{noformat} The issue is that if interrupted is already true, this won't call Thread.interrupted and clear the interrupt bit. The test checked into GEODE-5358 will reproduce this, but that can't be included with this fix because it still hangs due to GEODE-5358. -- This message was sent by Atlassian JIRA (v7.6.3#76005)