[jboss-jira] [JBoss JIRA] (JGRP-2186) (7.0.z) UNICAST3 drops all messages until it receives the first one
Bartosz Spyrko-Śmietanko (JIRA)
issues at jboss.org
Fri Jun 2 10:27:01 EDT 2017
Bartosz Spyrko-Śmietanko created JGRP-2186:
----------------------------------------------
Summary: (7.0.z) UNICAST3 drops all messages until it receives the first one
Key: JGRP-2186
URL: https://issues.jboss.org/browse/JGRP-2186
Project: JGroups
Issue Type: Bug
Affects Versions: 3.6.10
Reporter: Bartosz Spyrko-Śmietanko
Assignee: Bela Ban
Fix For: 3.6.12, 4.0
UNICAST3.getReceiverEntry returns null if it hasn't seen the first message yet.
This causes UNICAST3.handleDataReceived to drop the message.
When you add *ENCRYPT, this causes a major deadlock. *ENCRYPT will queue most messages until it gets the encryption key, which can often include the first message (so UNICAST3 won't see it yet). Then when an important message such as JOIN_RSP comes through, UNICAST3 drops it. Since UNICAST3 never lets any messages through in this case, the encryption key will never get set so that *ENCRYPT can pass the first message up and free the deadlock.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list