-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
The zero-capacity node throws a NullPointerException when a protobuf schema is added to the cluster.
java.lang.NullPointerException: Cannot invoke "org.infinispan.container.entries.CacheEntry.getValue()" because the return value of "org.infinispan.context.InvocationContext.lookupEntry(Object)" is null at org.infinispan.query.remote.impl.ProtobufMetadataManagerInterceptor.handlePutKeyValueResult(ProtobufMetadataManagerInterceptor.java:237) at org.infinispan.interceptors.SyncInvocationStage.thenApply(SyncInvocationStage.java:44) at org.infinispan.query.remote.impl.ProtobufMetadataManagerInterceptor.visitPutKeyValueCommand(ProtobufMetadataManagerInterceptor.java:229)
The internal cache should ignore the zero-capacity configuration and store this data locally.
A possible performance issue is that the schemas are registered twice in a row for a remove context. Registering only once should be enough.