Vert.x clustered with Infinispan and 'Zero Capacity Nodes'

45 views
Skip to first unread message

Szymon G

unread,
Nov 19, 2021, 2:24:37 AM11/19/21
to vert.x
Hi,

I am trying to use vert.x cluster with Infinispan and 'Zero Capacity Nodes'?
Is this supported?

When I try I see:

2021-11-19T08:20:21,777 <vert.x-worker-thread-0> [WARN  ] [org.infinispan.PERSISTENCE] ISPN000559: Cannot marshall 'class org.infinispan.marshall.protostream.impl.MarshallableUserObject'
java.lang.IllegalArgumentException: No marshaller registered for object of Java type io.vertx.ext.cluster.infinispan.impl.SubsCacheHelper$EventFilter : io.vertx.ext.cluster.infinispan.impl.SubsCacheHelper$EventFilter@93d3881
at org.infinispan.protostream.impl.SerializationContextImpl.getMarshallerDelegate(SerializationContextImpl.java:512) ~[protostream-4.4.1.Final.jar:4.4.1.Final]
at org.infinispan.protostream.WrappedMessage.writeMessage(WrappedMessage.java:281) ~[protostream-4.4.1.Final.jar:4.4.1.Final]

Not sure if this is a bug or unsupported feature.

Kind regards,
Szymon

Szymon G

unread,
Nov 19, 2021, 2:25:50 AM11/19/21
to vert.x
I forgot to add link to test project:
works in IntelliJ Idea

regards,
Szymon

Thomas SEGISMONT

unread,
Nov 22, 2021, 4:01:30 AM11/22/21
to ve...@googlegroups.com
Hi,

I'll give a try to the reproducer and come back to you asap.

Thanks for reporting the issue.

Thomas

--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/ae3c51e9-c1d3-4828-abce-7a9d4ad2cd72n%40googlegroups.com.

Thomas SEGISMONT

unread,
Nov 23, 2021, 10:49:20 AM11/23/21
to ve...@googlegroups.com
I talked about your problem with an Infinispan committer. They'll have a look at the reproducer (I've made minor modifications: https://github.com/tsegismont/vertx-infinispan-cluster-test)

Regards

Szymon G

unread,
Nov 24, 2021, 2:59:05 AM11/24/21
to vert.x
Hi Thomas, 
Many thanks so far.

Regards,
Simon

Thomas SEGISMONT

unread,
Nov 25, 2021, 4:26:39 AM11/25/21
to ve...@googlegroups.com
I filed this: https://github.com/vert-x3/vertx-infinispan/issues/105

In a few words, there's some work needed on our side to support zero capacity nodes

Szymon G

unread,
Nov 25, 2021, 4:34:12 AM11/25/21
to vert.x
Hi Thomas, 

Thank you for investigating this.
I think we will have to live without this for now.
This was my idea to help resolve some issues we have with geographically big cluster (UK/DE) - but in the meantime I found the reason we had issues in the 1st place.

I still have those:
2021-11-25T07:17:40,336 <vert.x-eventloop-thread-3> [WARN  ] [io.vertx.ext.web.handler.impl.SessionHandlerImpl] Failed to flush the session to the underlying store
io.vertx.core.impl.NoStackTraceThrowable: Version mismatch
but without 'real' problems.

Best regards,
Simon

Reply all
Reply to author
Forward
0 new messages