[JBoss JIRA] (JGRP-1707) MergeView: marshalling fails when subgroups are not a subset of members
by Bela Ban (JIRA)
Bela Ban created JGRP-1707:
------------------------------
Summary: MergeView: marshalling fails when subgroups are not a subset of members
Key: JGRP-1707
URL: https://issues.jboss.org/browse/JGRP-1707
Project: JGroups
Issue Type: Bug
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 3.4
When we have 2 partitions \{A,B,C\} and \{X,Y,Z\} and they merge, but one of the members (e.g. Z) is excluded from the merge (e.g. because it is involved in a different merge already), we create the following MergeView:
{noformat}
MergeView:
view={A,B,C,X,Y}
subgroups={A,B,C} {X,Y,Z}
{noformat}
Because the members of the subgroups refer to the merge view via index, the index for Z is -1, and thus - when unmarshalled - Z points to a null creator, which triggers the following stack trace:
{noformat}
00631037-49819: failed handling incoming message
java.lang.IllegalArgumentException: creator cannot be null
at org.jgroups.ViewId.<init>(ViewId.java:32)
at org.jgroups.ViewId.<init>(ViewId.java:42)
at org.jgroups.View.create(View.java:90)
at org.jgroups.MergeView.readFrom(MergeView.java:119)
at org.jgroups.protocols.pbcast.GMS$GmsHeader.readFrom(GMS.java:1285)
at org.jgroups.Message.readHeader(Message.java:889)
at org.jgroups.Message.readFrom(Message.java:803)
at org.jgroups.protocols.TP.readMessageBatch(TP.java:1796)
at org.jgroups.protocols.TP.receive(TP.java:1463)
at org.jgroups.protocols.UDP$PacketReceiver.run(UDP.java:683)
at java.lang.Thread.run(Unknown Source)
{noformat}
SOLUTION:
* When marshalling a MergeView, and a subgroup member has no corresponding member in {{members}}, then send the *address* instead of the index
* OR: remove all members from subgroups which are not in {{members}}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 7 months
[JBoss JIRA] (WFLY-2168) Forward port urn:jboss:domain:transactions:1.4 schema and parser from EAP 6
by Ivo Studensky (JIRA)
[ https://issues.jboss.org/browse/WFLY-2168?page=com.atlassian.jira.plugin.... ]
Ivo Studensky commented on WFLY-2168:
-------------------------------------
A new XSD had been firstly introduced in WildFly by WFLY-789 as a {{urn:jboss:domain:transactions:2.0}} which was then backported to EAP as a {{urn:jboss:domain:transactions:1.4}}. The change was the same, the only difference was in the version of that schema. See the discussion on the WildFly's PR for details.
> Forward port urn:jboss:domain:transactions:1.4 schema and parser from EAP 6
> ---------------------------------------------------------------------------
>
> Key: WFLY-2168
> URL: https://issues.jboss.org/browse/WFLY-2168
> Project: WildFly
> Issue Type: Task
> Components: Domain Management, Transactions
> Reporter: Brian Stansberry
> Assignee: Ivo Studensky
> Priority: Blocker
> Fix For: 8.0.0.CR1
>
>
> The backport of WFLY-789 introduced a new XSD version in EAP that does not exist in WildFly. It needs to be forward ported to WildFly.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 7 months