[JBoss JIRA] (ISPN-10980) SitesView attribute will be empty or show incomplete view of members
by Pedro Ruivo (Jira)
Pedro Ruivo created ISPN-10980:
----------------------------------
Summary: SitesView attribute will be empty or show incomplete view of members
Key: ISPN-10980
URL: https://issues.jboss.org/browse/ISPN-10980
Project: Infinispan
Issue Type: Bug
Components: Cross-Site Replication
Affects Versions: 9.4.16.Final
Reporter: Pedro Ruivo
Assignee: Pedro Ruivo
Fix For: 9.4.17.Final
Only affects server mode with 9.4.x
JGroups subsystem registers the RouteStatusListener before starts the JChannel to keep track of the view changes.
Infinispan is removing it and then it gets the incomplete list of events and consequently an incorrect view.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month
[JBoss JIRA] (IPROTO-63) writeObject throws IllegalArgumentException with oneof label
by Nistor Adrian (Jira)
[ https://issues.jboss.org/browse/IPROTO-63?page=com.atlassian.jira.plugin.... ]
Nistor Adrian updated IPROTO-63:
--------------------------------
Fix Version/s: 4.3.1.Final
(was: 4.3.0.Final)
> writeObject throws IllegalArgumentException with oneof label
> ------------------------------------------------------------
>
> Key: IPROTO-63
> URL: https://issues.jboss.org/browse/IPROTO-63
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Reporter: Ryan Emerson
> Assignee: Nistor Adrian
> Priority: Major
> Fix For: 4.3.0.Alpha14, 4.3.1.Final
>
>
> The below schema results in the following exception:
> Schema:
> {code:java}
> message EntryVersion {
> oneof version {
> NumericVersion numeric = 1;
> ClusteredVersion clustered = 2;
> }
> // optional NumericVersion numeric = 1;
> // optional ClusteredVersion clustered = 2;
> }
> message NumericVersion {
> required int64 version = 1;
> }
> message ClusteredVersion {
> required int64 version = 1;
> required int32 topology = 2;
> }
> {code}
> Exception:
> {code:java}
> java.lang.IllegalArgumentException: Declared field type is not a message or an enum : numeric
> {code}
> It seems this is caused because the type for the field "numeric" is null in the associated FieldDescriptor object that is retrieved in the [writeObject impl|https://github.com/infinispan/protostream/blob/master/core/src/main/...].
> If the oneof label is replaced with the commented optional fields, the marshallers work as expected.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month