[JBoss JIRA] (ISPN-7302) ClusteredConditionalCommandTest.testPutIfAbsentOnNonOwnerWithIgnoreReturnValues random failures
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-7302?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-7302:
----------------------------------
Fix Version/s: 9.1.0.Final
(was: 9.0.0.Final)
> ClusteredConditionalCommandTest.testPutIfAbsentOnNonOwnerWithIgnoreReturnValues random failures
> -----------------------------------------------------------------------------------------------
>
> Key: ISPN-7302
> URL: https://issues.jboss.org/browse/ISPN-7302
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 9.0.0.Beta1
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Critical
> Labels: testsuite_stability
> Fix For: 9.1.0.Final
>
>
> When the backup owner replies before the primary had a chance to load the value from persistence, the number of loads from the primary can be {{0}} at the time the test checks it.
> {noformat}
> 00:21:48,941 TRACE (testng-Test:[]) [JGroupsTransport] dests=[Test-NodeB-56150, Test-NodeA-13512], command=ClusteredGetCommand{key=Test-key, flags=[IGNORE_RETURN_VALUES]}, mode=WAIT_FOR_VALID_RESPONSE, timeout=15000
> 00:21:48,942 TRACE (jgroups-7,Test-NodeB-56150:[]) [InvocationContextInterceptor] Invoked with command GetCacheEntryCommand {key=Test-key, flags=[SKIP_REMOTE_LOOKUP, IGNORE_RETURN_VALUES]} and InvocationContext [org.infinispan.context.impl.NonTxInvocationContext@5f931934]
> 00:21:48,943 TRACE (jgroups-7,Test-NodeB-56150:[]) [EntryFactoryImpl] Wrap Test-key for read. Entry=NullCacheEntry{}
> 00:21:48,946 TRACE (jgroups-8,Test-NodeA-13512:[]) [InvocationContextInterceptor] Invoked with command GetCacheEntryCommand {key=Test-key, flags=[SKIP_REMOTE_LOOKUP, IGNORE_RETURN_VALUES]} and InvocationContext [org.infinispan.context.impl.NonTxInvocationContext@265c6c97]
> 00:21:48,946 TRACE (jgroups-8,Test-NodeA-13512:[]) [PersistenceUtil] Loaded MarshalledEntryImpl{keyBytes=null, valueBytes=null, metadataBytes=null, key=Test-key, value=Test-value1, metadata=null, marshaller=org.infinispan.marshall.core.GlobalMarshaller@1aee2408} for key Test-key from persistence.
> 00:21:48,946 TRACE (jgroups-8,Test-NodeA-13512:[]) [CommandAwareRpcDispatcher] About to send back response SuccessfulResponse{responseValue=ImmortalCacheValue {value=Test-value1}} for command ClusteredGetCommand{key=Test-key, flags=[IGNORE_RETURN_VALUES]}
> 00:21:48,948 ERROR (testng-Test:[]) [TestSuiteProgress] Test failed: org.infinispan.persistence.ClusteredTxConditionalCommandTest.testPutIfAbsentOnNonOwnerWithIgnoreReturnValues[tx=true]
> java.lang.AssertionError: primary owner load expected:<1> but was:<0>
> at org.testng.AssertJUnit.fail(AssertJUnit.java:59) ~[testng-6.8.8.jar:?]
> at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364) ~[testng-6.8.8.jar:?]
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80) ~[testng-6.8.8.jar:?]
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:170) ~[testng-6.8.8.jar:?]
> at org.infinispan.persistence.ClusteredTxConditionalCommandTest.assertLoadAfterOperation(ClusteredTxConditionalCommandTest.java:46) ~[test-classes/:?]
> at org.infinispan.persistence.ClusteredConditionalCommandTest.doTest(ClusteredConditionalCommandTest.java:121) ~[test-classes/:?]
> at org.infinispan.persistence.ClusteredConditionalCommandTest.testPutIfAbsentOnNonOwnerWithIgnoreReturnValues(ClusteredConditionalCommandTest.java:242) ~[test-classes/:?]
> 00:21:48,953 TRACE (jgroups-7,Test-NodeB-56150:[]) [PersistenceUtil] Loaded null for key Test-key from persistence.
> 00:21:48,953 TRACE (jgroups-7,Test-NodeB-56150:[]) [CommandAwareRpcDispatcher] About to send back response SuccessfulResponse{responseValue=null} for command ClusteredGetCommand{key=Test-key, flags=[IGNORE_RETURN_VALUES]}
> {noformat}
> Possible fix: replace {{assertEquals}} with {{eventuallyEquals}}.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (ISPN-7272) Remove replication statistics from RpcManagerImpl
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-7272?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-7272:
----------------------------------
Fix Version/s: 9.1.0.Final
(was: 9.0.0.Final)
> Remove replication statistics from RpcManagerImpl
> -------------------------------------------------
>
> Key: ISPN-7272
> URL: https://issues.jboss.org/browse/ISPN-7272
> Project: Infinispan
> Issue Type: Task
> Components: Core
> Affects Versions: 8.1.6.Final, 9.0.0.Alpha4
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Fix For: 9.1.0.Final
>
>
> The replication statistics exposed by {{RpcManagerImpl}} are too low-level. For instance, in non-transactional caches, the times of the RPCs from the primary to the backups are counted both on the primary and on the originator (as part of the originator-to-primary RPC). They also aren't split by operation, like the {{CacheMgmtInterceptor}} statistics, which makes them even less useful.
> The triangle algorithm changes things again, but only for distributed caches, so there is now one more way of interpreting the {{RpcManagerImpl}} statistics. It would be better to remove them altogether.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (ISPN-7678) Server error when updating default cache configuration
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-7678?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-7678:
----------------------------------
Fix Version/s: 9.1.0.Final
(was: 9.0.0.Final)
> Server error when updating default cache configuration
> ------------------------------------------------------
>
> Key: ISPN-7678
> URL: https://issues.jboss.org/browse/ISPN-7678
> Project: Infinispan
> Issue Type: Bug
> Components: Configuration, Server
> Affects Versions: 9.0.0.CR4
> Environment: Run the server with the default configuration in domain mode.
> Reporter: Ryan Emerson
> Assignee: Tristan Tarrant
> Fix For: 9.1.0.Final
>
>
> {code:java}
> [Server:server-one] 13:34:26,304 INFO [org.jboss.as.clustering.infinispan] (MSC service thread 1-3) DGISPN0002: Stopped default cache from clustered container
> [Server:server-two] 13:34:26,311 INFO [org.infinispan.CLUSTER] (remote-thread--p2-t2) ISPN000310: Starting cluster-wide rebalance for cache default, topology CacheTopology{id=5, rebalanceId=3, currentCH=DefaultConsistentHash{ns=20, owners = (1)[master:server-two: 20+0]}, pendingCH=DefaultConsistentHash{ns=20, owners = (2)[master:server-two: 10+10, master:server-one: 10+10]}, unionCH=null, actualMembers=[master:server-two, master:server-one], persistentUUIDs=[ca1b2fd7-2f90-4439-88e6-ca202f1bded4, 069b35d1-2d9d-4ca4-bf14-c01fa80bf86a]}
> [Server:server-two] 13:34:26,311 INFO [org.infinispan.CLUSTER] (remote-thread--p2-t2) [Context=default][Context=master:server-two]ISPN100002: Started local rebalance
> [Server:server-two] 13:34:26,312 INFO [org.infinispan.CLUSTER] (transport-thread--p4-t9) [Context=default][Context=master:server-two]ISPN100003: Finished local rebalance
> [Server:server-two] 13:34:26,318 INFO [org.infinispan.CLUSTER] (remote-thread--p2-t6) [Context=default][Context=master:server-one]ISPN100003: Finished local rebalance
> [Server:server-two] 13:34:26,320 INFO [org.infinispan.CLUSTER] (remote-thread--p2-t6) ISPN000336: Finished cluster-wide rebalance for cache default, topology id = 5
> [Server:server-one] 13:34:26,321 INFO [org.jboss.as.clustering.infinispan] (MSC service thread 1-2) DGISPN0001: Started default cache from clustered container
> [Server:server-one] 13:34:26,321 INFO [org.infinispan.server.endpoint] (MSC service thread 1-2) DGENDPT10000: MemcachedServer starting
> [Server:server-one] 13:34:26,321 INFO [org.infinispan.server.endpoint] (MSC service thread 1-2) DGENDPT10001: MemcachedServer listening on 127.0.0.1:11211
> [Server:server-one] 13:34:26,321 INFO [org.infinispan.server.endpoint] (MSC service thread 1-3) DGENDPT10000: REST starting
> [Server:server-one] 13:34:26,321 INFO [org.infinispan.server.endpoint] (MSC service thread 1-4) DGENDPT10000: WebSocketServer starting
> [Server:server-one] 13:34:26,322 INFO [org.infinispan.server.endpoint] (MSC service thread 1-4) DGENDPT10001: WebSocketServer listening on 127.0.0.1:8181
> [Server:server-one] 13:34:26,321 INFO [org.infinispan.server.endpoint] (MSC service thread 1-5) DGENDPT10000: HotRodServer starting
> [Server:server-one] 13:34:26,322 INFO [org.infinispan.server.endpoint] (MSC service thread 1-5) DGENDPT10001: HotRodServer listening on 127.0.0.1:11222
> [Server:server-two] 13:34:26,341 INFO [org.jboss.as.clustering.infinispan] (MSC service thread 1-8) DGISPN0002: Stopped default cache from clustered container
> [Server:server-one] 13:34:26,349 INFO [org.infinispan.rest.embedded.netty4.NettyRestServer] (MSC service thread 1-3) ISPN012003: REST server starting, listening on 127.0.0.1:8080
> [Server:server-one] 13:34:26,350 INFO [org.infinispan.server.endpoint] (MSC service thread 1-3) DGENDPT10002: REST mapped to rest/rest
> [Server:server-two] 13:34:26,351 INFO [org.infinispan.CLUSTER] (MSC service thread 1-8) ISPN000310: Starting cluster-wide rebalance for cache default, topology CacheTopology{id=8, rebalanceId=4, currentCH=DefaultConsistentHash{ns=20, owners = (1)[master:server-one: 20+0]}, pendingCH=DefaultConsistentHash{ns=20, owners = (2)[master:server-one: 10+10, master:server-two: 10+10]}, unionCH=null, actualMembers=[master:server-one, master:server-two], persistentUUIDs=[069b35d1-2d9d-4ca4-bf14-c01fa80bf86a, ca1b2fd7-2f90-4439-88e6-ca202f1bded4]}
> [Server:server-two] 13:34:26,351 INFO [org.infinispan.CLUSTER] (MSC service thread 1-8) [Context=default][Context=master:server-two]ISPN100002: Started local rebalance
> [Server:server-two] 13:34:26,353 INFO [org.infinispan.CLUSTER] (remote-thread--p2-t7) [Context=default][Context=master:server-one]ISPN100003: Finished local rebalance
> [Server:server-two] 13:34:26,366 INFO [org.infinispan.CLUSTER] (transport-thread--p4-t19) [Context=default][Context=master:server-two]ISPN100003: Finished local rebalance
> [Server:server-two] 13:34:26,367 INFO [org.infinispan.CLUSTER] (transport-thread--p4-t19) ISPN000336: Finished cluster-wide rebalance for cache default, topology id = 8
> [Server:server-two] 13:34:26,368 INFO [org.jboss.as.clustering.infinispan] (MSC service thread 1-8) DGISPN0001: Started default cache from clustered container
> [Server:server-two] 13:34:26,368 INFO [org.infinispan.server.endpoint] (MSC service thread 1-8) DGENDPT10000: WebSocketServer starting
> [Server:server-two] 13:34:26,368 INFO [org.infinispan.server.endpoint] (MSC service thread 1-6) DGENDPT10000: HotRodServer starting
> [Server:server-two] 13:34:26,368 INFO [org.infinispan.server.endpoint] (MSC service thread 1-1) DGENDPT10000: MemcachedServer starting
> [Server:server-two] 13:34:26,369 INFO [org.infinispan.server.endpoint] (MSC service thread 1-8) DGENDPT10001: WebSocketServer listening on 127.0.0.1:8331
> [Server:server-two] 13:34:26,369 INFO [org.infinispan.server.endpoint] (MSC service thread 1-6) DGENDPT10001: HotRodServer listening on 127.0.0.1:11372
> [Server:server-two] 13:34:26,369 INFO [org.infinispan.server.endpoint] (MSC service thread 1-1) DGENDPT10001: MemcachedServer listening on 127.0.0.1:11361
> [Server:server-two] 13:34:26,369 INFO [org.infinispan.server.endpoint] (MSC service thread 1-5) DGENDPT10000: REST starting
> [Server:server-two] 13:34:26,407 INFO [org.infinispan.rest.embedded.netty4.NettyRestServer] (MSC service thread 1-5) ISPN012003: REST server starting, listening on 127.0.0.1:8230
> [Server:server-two] 13:34:26,408 INFO [org.infinispan.server.endpoint] (MSC service thread 1-5) DGENDPT10002: REST mapped to rest/rest
> [Server:server-one] 13:34:27,437 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC000001: Failed to start service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: org.jboss.msc.service.StartException in service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: DGENDPT10004: Failed to start HotRodServer
> [Server:server-one] at org.infinispan.server.endpoint.subsystem.ProtocolServerService.start(ProtocolServerService.java:156)
> [Server:server-one] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
> [Server:server-one] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
> [Server:server-one] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [Server:server-one] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [Server:server-one] at java.lang.Thread.run(Thread.java:745)
> [Server:server-one] Caused by: org.infinispan.commons.CacheConfigurationException: ISPN000358: A cache configuration named ___hotRodTopologyCache already exists. This cannot be configured externally by the user.
> [Server:server-one] at org.infinispan.registry.impl.InternalCacheRegistryImpl.registerInternalCache(InternalCacheRegistryImpl.java:58)
> [Server:server-one] at org.infinispan.server.hotrod.HotRodServer.defineTopologyCacheConfig(HotRodServer.java:265)
> [Server:server-one] at org.infinispan.server.hotrod.HotRodServer.startInternal(HotRodServer.java:163)
> [Server:server-one] at org.infinispan.server.hotrod.HotRodServer.startInternal(HotRodServer.java:82)
> [Server:server-one] at org.infinispan.server.core.AbstractProtocolServer.start(AbstractProtocolServer.java:80)
> [Server:server-one] at org.infinispan.server.endpoint.subsystem.SecurityActions$6.run(SecurityActions.java:136)
> [Server:server-one] at org.infinispan.server.endpoint.subsystem.SecurityActions$6.run(SecurityActions.java:133)
> [Server:server-one] at org.infinispan.security.Security.doPrivileged(Security.java:76)
> [Server:server-one] at org.infinispan.server.endpoint.subsystem.SecurityActions.doPrivileged(SecurityActions.java:42)
> [Server:server-one] at org.infinispan.server.endpoint.subsystem.SecurityActions.startProtocolServer(SecurityActions.java:140)
> [Server:server-one] at org.infinispan.server.endpoint.subsystem.ProtocolServerService.startProtocolServer(ProtocolServerService.java:190)
> [Server:server-one] at org.infinispan.server.endpoint.subsystem.ProtocolServerService.start(ProtocolServerService.java:148)
> [Server:server-one] ... 5 more
> [Server:server-one]
> [Server:server-two] 13:34:27,493 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: org.jboss.msc.service.StartException in service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: DGENDPT10004: Failed to start HotRodServer
> [Server:server-two] at org.infinispan.server.endpoint.subsystem.ProtocolServerService.start(ProtocolServerService.java:156)
> [Server:server-two] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
> [Server:server-two] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
> [Server:server-two] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [Server:server-two] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [Server:server-two] at java.lang.Thread.run(Thread.java:745)
> [Server:server-two] Caused by: org.infinispan.commons.CacheConfigurationException: ISPN000358: A cache configuration named ___hotRodTopologyCache already exists. This cannot be configured externally by the user.
> [Server:server-two] at org.infinispan.registry.impl.InternalCacheRegistryImpl.registerInternalCache(InternalCacheRegistryImpl.java:58)
> [Server:server-two] at org.infinispan.server.hotrod.HotRodServer.defineTopologyCacheConfig(HotRodServer.java:265)
> [Server:server-two] at org.infinispan.server.hotrod.HotRodServer.startInternal(HotRodServer.java:163)
> [Server:server-two] at org.infinispan.server.hotrod.HotRodServer.startInternal(HotRodServer.java:82)
> [Server:server-two] at org.infinispan.server.core.AbstractProtocolServer.start(AbstractProtocolServer.java:80)
> [Server:server-two] at org.infinispan.server.endpoint.subsystem.SecurityActions$6.run(SecurityActions.java:136)
> [Server:server-two] at org.infinispan.server.endpoint.subsystem.SecurityActions$6.run(SecurityActions.java:133)
> [Server:server-two] at org.infinispan.security.Security.doPrivileged(Security.java:76)
> [Server:server-two] at org.infinispan.server.endpoint.subsystem.SecurityActions.doPrivileged(SecurityActions.java:42)
> [Server:server-two] at org.infinispan.server.endpoint.subsystem.SecurityActions.startProtocolServer(SecurityActions.java:140)
> [Server:server-two] at org.infinispan.server.endpoint.subsystem.ProtocolServerService.startProtocolServer(ProtocolServerService.java:190)
> [Server:server-two] at org.infinispan.server.endpoint.subsystem.ProtocolServerService.start(ProtocolServerService.java:148)
> [Server:server-two] ... 5 more
> [Server:server-two]
> [Server:server-two] 13:34:27,528 INFO [org.jboss.as.controller] (ServerService Thread Pool -- 15) WFLYCTL0183: Service status report
> [Server:server-two] WFLYCTL0186: Services which failed to start: service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: org.jboss.msc.service.StartException in service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: DGENDPT10004: Failed to start HotRodServer
> [Server:server-two]
> [Server:server-one] 13:34:27,528 INFO [org.jboss.as.controller] (ServerService Thread Pool -- 30) WFLYCTL0183: Service status report
> [Server:server-one] WFLYCTL0186: Services which failed to start: service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: org.jboss.msc.service.StartException in service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: DGENDPT10004: Failed to start HotRodServer
> [Server:server-one]
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (ISPRK-26) ClassCastException with InfinispanInputDstream with cache in compatiblity mode
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPRK-26?page=com.atlassian.jira.plugin.s... ]
Gustavo Fernandes updated ISPRK-26:
-----------------------------------
Fix Version/s: 0.6
(was: 0.5)
> ClassCastException with InfinispanInputDstream with cache in compatiblity mode
> ------------------------------------------------------------------------------
>
> Key: ISPRK-26
> URL: https://issues.jboss.org/browse/ISPRK-26
> Project: Infinispan Spark
> Issue Type: Bug
> Components: Streaming
> Affects Versions: 0.3
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Fix For: 0.6
>
>
> {noformat}
> org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for messageId=21 returned server error (status=0x85): java.lang.ClassCastException: java.lang.Integer cannot be cast to [B
> at org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:343)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readPartialHeader(Codec20.java:132)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:118)
> at org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:56)
> at org.infinispan.client.hotrod.impl.operations.AbstractKeyValueOperation.sendPutOperation(AbstractKeyValueOperation.java:56)
> at org.infinispan.client.hotrod.impl.operations.PutOperation.executeOperation(PutOperation.java:32)
> at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:54)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (ISPRK-14) Push down predicate support for SQL
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPRK-14?page=com.atlassian.jira.plugin.s... ]
Gustavo Fernandes updated ISPRK-14:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Push down predicate support for SQL
> -----------------------------------
>
> Key: ISPRK-14
> URL: https://issues.jboss.org/browse/ISPRK-14
> Project: Infinispan Spark
> Issue Type: Enhancement
> Components: SQL
> Affects Versions: 0.1
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Fix For: 0.5
>
>
> Currently, using Spark SQL will cause iteration of each Infinispan partition, an optimization would be to use the so called "push down" of predicates, so that parts of the SQL would be translated to a Infinispan query and data would be filtered at the source.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (ISPN-7591) Add org.hibernate.cache to externally marshallable white list
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-7591?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-7591:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Add org.hibernate.cache to externally marshallable white list
> -------------------------------------------------------------
>
> Key: ISPN-7591
> URL: https://issues.jboss.org/browse/ISPN-7591
> Project: Infinispan
> Issue Type: Bug
> Components: Core, Marshalling
> Affects Versions: 9.0.0.CR3
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Fix For: 9.0.0.Final
>
>
> While running 2LC tests I've discovered that some tests fail with:
> {code}Caused by: java.lang.AssertionError: Check support for: class org.hibernate.cache.spi.entry.StandardCacheEntryImpl
> at org.infinispan.marshall.core.GlobalMarshaller.writeUnknown(GlobalMarshaller.java:596)
> {code}
> So, {{org.hibernate.cache.spi.entry.StandardCacheEntryImpl}} is relying on standard serialization. The problem is that this class does not belong to hibernate-infinispan module and hence cannot be made to extend Infinispan's ExternalPojo.
> On the other hand, the white list in ExternallyMarshallable is hardcoded but there are no plans to make this declaratively configurable for now, since the separation between internal and external marshaller will eventually disappear in favour of internal vs user marshaller.
> So, the easiest thing to do here would be to add {{org.hibernate.cache}} package to the white list.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years