[JBoss JIRA] (ISPN-8300) Serializer produces configuration files that are not up to date
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-8300?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-8300:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.1.1.Final
Resolution: Done
> Serializer produces configuration files that are not up to date
> ---------------------------------------------------------------
>
> Key: ISPN-8300
> URL: https://issues.jboss.org/browse/ISPN-8300
> Project: Infinispan
> Issue Type: Bug
> Reporter: William Burns
> Assignee: Ryan Emerson
> Fix For: 9.1.1.Final
>
>
> The Serializer class is used by ConfigurationConverter to update an old configuration file to a new one. Unfortunately this doesn't always convert configuration files to the newest elements. For example storeAsBinary, eviction and some others are no updated. Also we have a test named ConfigurationSerializerTest that doesn't seem to have different handling for different versions so there is no telling what is incorrect in the generation.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 6 months
[JBoss JIRA] (ISPN-8317) EvictionConfiguration deprecated but still required
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-8317?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant closed ISPN-8317.
---------------------------------
Resolution: Duplicate Issue
> EvictionConfiguration deprecated but still required
> ---------------------------------------------------
>
> Key: ISPN-8317
> URL: https://issues.jboss.org/browse/ISPN-8317
> Project: Infinispan
> Issue Type: Bug
> Components: Eviction
> Affects Versions: 9.1.0.Final
> Reporter: Paul Ferraro
>
> EvictionConfiguration is deprecated in 9.1 as it is replaced by MemoryConfiguration. However, there are several places in the code where the memory configuration is not referenced, and instead relies upon EvictionConfiguration.
> e.g.
> * AdvancedCache.evict(...) logs a WARN when EvictionConfiguration.strategy().isEnabled() returns false - which is the default value.
> * The PersistenceManager preload logic determines the number of entries to load based on EvictionManager.maxEntries(), instead of MemoryConfiguration.size()
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 6 months
[JBoss JIRA] (ISPN-8317) EvictionConfiguration deprecated but still required
by Paul Ferraro (JIRA)
Paul Ferraro created ISPN-8317:
----------------------------------
Summary: EvictionConfiguration deprecated but still required
Key: ISPN-8317
URL: https://issues.jboss.org/browse/ISPN-8317
Project: Infinispan
Issue Type: Bug
Components: Eviction
Affects Versions: 9.1.0.Final
Reporter: Paul Ferraro
EvictionConfiguration is deprecated in 9.1 as it is replaced by MemoryConfiguration. However, there are several places in the code where the memory configuration is not referenced, and instead relies upon EvictionConfiguration.
e.g.
* AdvancedCache.evict(...) logs a WARN when EvictionConfiguration.strategy().isEnabled() returns false - which is the default value.
* The PersistenceManager preload logic determines the number of entries to load based on EvictionManager.maxEntries(), instead of MemoryConfiguration.size()
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 6 months
[JBoss JIRA] (ISPN-8263) More Hibernate random size failures
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-8263?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-8263:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> More Hibernate random size failures
> -----------------------------------
>
> Key: ISPN-8263
> URL: https://issues.jboss.org/browse/ISPN-8263
> Project: Infinispan
> Issue Type: Bug
> Components: Hibernate Cache
> Affects Versions: 9.1.0.Final
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Labels: testsuite_stability
>
> org.infinispan.test.hibernate.cache.functional.cluster.NaturalIdInvalidationTest.testAll[nonstrict, REPL_SYNC]
> org.infinispan.test.hibernate.cache.functional.cluster.NaturalIdInvalidationTest.testAll[nonstrict, DIST_SYNC]
> {code}
> Error Message
> expected:<1> but was:<2>
> Stacktrace
> java.lang.AssertionError: expected:<1> but was:<2>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:743)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.junit.Assert.assertEquals(Assert.java:555)
> at org.junit.Assert.assertEquals(Assert.java:542)
> at org.infinispan.test.hibernate.cache.functional.cluster.NaturalIdInvalidationTest.testAll(NaturalIdInvalidationTest.java:129)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> at org.hibernate.testing.junit4.ExtendedFrameworkMethod.invokeExplosively(ExtendedFrameworkMethod.java:45)
> at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
> at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 6 months