[JBoss JIRA] (ISPN-4369) Upgrade H2 driver to 1.3.173
by Dan Berindei (JIRA)
Dan Berindei created ISPN-4369:
----------------------------------
Summary: Upgrade H2 driver to 1.3.173
Key: ISPN-4369
URL: https://issues.jboss.org/browse/ISPN-4369
Project: Infinispan
Issue Type: Component Upgrade
Components: Test Suite - Core, Test Suite - Server
Affects Versions: 7.0.0.Alpha4
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 7.0.0.Alpha5
The version of the H2 driver used currently in the test suite, 1.3.166, has a concurrency issue: https://code.google.com/p/h2database/issues/detail?id=411
The unsynchronized access to a static HashSet in CloseWatcher can lead to an infinite loop in the JDBC test suite:
{noformat}
"testng-StringStoreWithManagedConnectionTest" prio=10 tid=0x00007fc6504a9000 nid=0x50fd runnable [0x00007fc654803000]
java.lang.Thread.State: RUNNABLE
at java.util.HashMap.put(HashMap.java:498)
at java.util.HashSet.add(HashSet.java:217)
at org.h2.util.CloseWatcher.register(CloseWatcher.java:101)
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:122)
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:94)
at org.h2.Driver.connect(Driver.java:72)
at java.sql.DriverManager.getConnection(DriverManager.java:571)
at java.sql.DriverManager.getConnection(DriverManager.java:215)
at org.infinispan.persistence.jdbc.connectionfactory.SimpleConnectionFactory.getConnection(SimpleConnectionFactory.java:58)
at org.infinispan.persistence.jdbc.ManagedConnectionFactoryTest$DummyDataSource.getConnection(ManagedConnectionFactoryTest.java:73)
at org.infinispan.persistence.jdbc.connectionfactory.ManagedConnectionFactory.getConnection(ManagedConnectionFactory.java:82)
at org.infinispan.persistence.jdbc.stringbased.JdbcStringBasedStore.load(JdbcStringBasedStore.java:193)
{noformat}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months
[JBoss JIRA] (ISPN-4368) StateTransferOverwriteTest random failures
by Dan Berindei (JIRA)
Dan Berindei created ISPN-4368:
----------------------------------
Summary: StateTransferOverwriteTest random failures
Key: ISPN-4368
URL: https://issues.jboss.org/browse/ISPN-4368
Project: Infinispan
Issue Type: Bug
Components: Core, Test Suite - Core
Affects Versions: 7.0.0.Alpha4
Reporter: Dan Berindei
Assignee: William Burns
Fix For: 7.0.0.Beta1
{{testStateTransferInBetweenPrepareCommitWithPutCreate}} sometimes fails because the state transfer doesn't finish in time:
{noformat}
java.lang.RuntimeException: Timed out waiting for rebalancing to complete on node NodeBN-23267, current topology is CacheTopology{id=6, currentCH=DefaultConsistentHash{numSegments=60, numOwners=2, members=[NodeBM-52725, NodeBN-23267]}, pendingCH=DefaultConsistentHash{numSegments=60, numOwners=2, members=[NodeBM-52725, NodeBN-23267]}, unionCH=DefaultConsistentHash{numSegments=60, numOwners=2, members=[NodeBM-52725, NodeBN-23267]}}
at org.infinispan.test.TestingUtil.waitForRehashToComplete(TestingUtil.java:214)
at org.infinispan.distribution.rehash.BaseTxStateTransferOverwriteTest.doStateTransferInBetweenPrepareCommit(BaseTxStateTransferOverwriteTest.java:265)
at org.infinispan.distribution.rehash.BaseTxStateTransferOverwriteTest.testStateTransferInBetweenPrepareCommitWithPutCreate(BaseTxStateTransferOverwriteTest.java:94)
{noformat}
The problem seems to be that the test intends to block the {{PUT_CREATE}} command on the primary owner of the test key, but it sometimes also blocks the state transfer put for the {{placeholder}} key - depending on which node was the backup owner of the {{placeholder}} key.
The purpose of the {{placeholder}} key is also not very clear, we should add a comment how we expect the presence of another entry to interact with the tx / operation in progress.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months
[JBoss JIRA] (ISPN-4367) Base Infinispan Query on Hibernate Search 5
by Sanne Grinovero (JIRA)
Sanne Grinovero created ISPN-4367:
-------------------------------------
Summary: Base Infinispan Query on Hibernate Search 5
Key: ISPN-4367
URL: https://issues.jboss.org/browse/ISPN-4367
Project: Infinispan
Issue Type: Enhancement
Components: Embedded Querying
Reporter: Sanne Grinovero
Assignee: Sanne Grinovero
Fix For: 7.0.0.Alpha5
And by so doing, drop the need to maintain Lucene V3 related code (the Lucene Directory especially, but also Solr and dependencies)
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months
[JBoss JIRA] (ISPN-4299) Authentication configuration builder requires CallbackHandle also when subject it set
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ISPN-4299?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on ISPN-4299:
-----------------------------------------------
Vojtech Juranek <vjuranek(a)redhat.com> changed the Status of [bug 1099055|https://bugzilla.redhat.com/show_bug.cgi?id=1099055] from ON_QA to VERIFIED
> Authentication configuration builder requires CallbackHandle also when subject it set
> -------------------------------------------------------------------------------------
>
> Key: ISPN-4299
> URL: https://issues.jboss.org/browse/ISPN-4299
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Reporter: Vojtech Juranek
> Assignee: Tristan Tarrant
> Priority: Minor
> Fix For: 7.0.0.Alpha5
>
>
> Authentication configuration builder allows to setup direcly subject under which action are performed. In this case there's no need for any additional authentication. However authentication configuration builder requires {{CallbackHandler}} also in this case and without it it fails with
> {noformat}
> org.infinispan.commons.CacheConfigurationException: ISPN004030: Cannot enable authentication without specifying a Callback Handler
> at org.infinispan.client.hotrod.configuration.AuthenticationConfigurationBuilder.validate(AuthenticationConfigurationBuilder.java:86)
> at org.infinispan.client.hotrod.configuration.SecurityConfigurationBuilder.validate(SecurityConfigurationBuilder.java:43)
> at org.infinispan.client.hotrod.configuration.ConfigurationBuilder.validate(ConfigurationBuilder.java:280)
> at org.infinispan.client.hotrod.configuration.ConfigurationBuilder.build(ConfigurationBuilder.java:314)
> at org.infinispan.client.hotrod.configuration.ConfigurationBuilder.build(ConfigurationBuilder.java:309)
> at org.infinispan.server.test.client.hotrod.security.HotRodSaslAuthTestBase.getRemoteCacheManagerConfig(HotRodSaslAuthTestBase.java:104)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months