[JBoss JIRA] (ISPN-6843) JdbcStringBasedStore process does not iterate entries in parallel
by Ryan Emerson (JIRA)
Ryan Emerson created ISPN-6843:
----------------------------------
Summary: JdbcStringBasedStore process does not iterate entries in parallel
Key: ISPN-6843
URL: https://issues.jboss.org/browse/ISPN-6843
Project: Infinispan
Issue Type: Enhancement
Components: Loaders and Stores
Affects Versions: 9.0.0.Alpha2
Reporter: Ryan Emerson
Assignee: Ryan Emerson
Current the process method is simply submitted to the executor and executed as one. Instead, the resultset of the query should be iterated in parallel like in JdbcBinaryStore.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 9 months
[JBoss JIRA] (ISPN-6842) ReplTotalOrderStateTransferFunctional1PcTest.testSTWithWritingTxThread random failures
by Dan Berindei (JIRA)
Dan Berindei created ISPN-6842:
----------------------------------
Summary: ReplTotalOrderStateTransferFunctional1PcTest.testSTWithWritingTxThread random failures
Key: ISPN-6842
URL: https://issues.jboss.org/browse/ISPN-6842
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Affects Versions: 9.0.0.Alpha2
Reporter: Dan Berindei
It seems the commit fails and Infinispan rolls back the JTA transaction automatically. Then the test's rollback fails, hiding the initial exception:
{noformat}
java.util.concurrent.ExecutionException: java.lang.IllegalStateException: BaseTransaction.rollback - ARJUNA016074: no transaction!
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:206)
at org.infinispan.statetransfer.StateTransferFunctionalTest.writingThreadTest(StateTransferFunctionalTest.java:353)
at org.infinispan.statetransfer.StateTransferFunctionalTest.testSTWithWritingTxThread(StateTransferFunctionalTest.java:251)
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:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:38)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:382)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: BaseTransaction.rollback - ARJUNA016074: no transaction!
at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.rollback(BaseTransaction.java:139)
at org.infinispan.statetransfer.StateTransferFunctionalTest$WritingTask.call(StateTransferFunctionalTest.java:140)
at org.infinispan.statetransfer.StateTransferFunctionalTest$WritingTask.call(StateTransferFunctionalTest.java:106)
at org.infinispan.test.AbstractInfinispanTest$LoggingCallable.call(AbstractInfinispanTest.java:492)
... 4 more
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 9 months
[JBoss JIRA] (IPROTO-10) Default value is not used when reading a required field from a stream which does not contain the field
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/IPROTO-10?page=com.atlassian.jira.plugin.... ]
Adrian Nistor updated IPROTO-10:
--------------------------------
Summary: Default value is not used when reading a required field from a stream which does not contain the field (was: Default value is not used when reading from a stream which does not contain the field)
> Default value is not used when reading a required field from a stream which does not contain the field
> ------------------------------------------------------------------------------------------------------
>
> Key: IPROTO-10
> URL: https://issues.jboss.org/browse/IPROTO-10
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Affects Versions: 3.0.5.Final
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
> Fix For: 3.0.6.Final
>
>
> This issue can appear if a field is first optional and later is marked required in the schema and a default value is assigned. When reading from a stream encoded with the first version of the schema we might not see the field and would expect the missing value to be replaced with the default. Default values do not work in this particular case.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 9 months
[JBoss JIRA] (IPROTO-10) Default value is not used when reading from a stream which does not contain the field
by Adrian Nistor (JIRA)
Adrian Nistor created IPROTO-10:
-----------------------------------
Summary: Default value is not used when reading from a stream which does not contain the field
Key: IPROTO-10
URL: https://issues.jboss.org/browse/IPROTO-10
Project: Infinispan ProtoStream
Issue Type: Bug
Reporter: Adrian Nistor
This issue can appear if a field is first optional and later is marked required in the schema and a default value is assigned. When reading from a stream encoded with the first version of the schema we might not see the field and would expect the missing value to be replaced with the default. Default values do not work in this particular case.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 9 months