[JBoss JIRA] (ISPN-5164) Deployment of marshallers on server
by Tristan Tarrant (JIRA)
Tristan Tarrant created ISPN-5164:
-------------------------------------
Summary: Deployment of marshallers on server
Key: ISPN-5164
URL: https://issues.jboss.org/browse/ISPN-5164
Project: Infinispan
Issue Type: Feature Request
Components: Server
Reporter: Tristan Tarrant
Assignee: Galder Zamarreño
It should be possible to deploy custom marshallers to the server so that they can be used e.g. in compatibility mode.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (ISPN-5158) Transaction rolled back but returns successful response
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-5158?page=com.atlassian.jira.plugin.... ]
Dan Berindei commented on ISPN-5158:
------------------------------------
After further investigation it turns out cache.withFlags(FORCE_WRITE_LOCK).get(k) is not affected. A ClusteredGetCommand with the acquireRemoteLocks=true can indeed cause a transaction rollback, but a get() will trigger a separate LockControlCommand instead of setting acquireRemoteLocks=true.
Instead, the separate LockControlCommand is skipped and acquireRemoteLocks=true only for write operations with the SKIP_LOCKING flag set. I've created ISPN-5163 to describe the issue.
The current fix will remove the potential rollback from ISPN-5163, but the lock will still be acquired with the SKIP_LOCKING flag.
> Transaction rolled back but returns successful response
> -------------------------------------------------------
>
> Key: ISPN-5158
> URL: https://issues.jboss.org/browse/ISPN-5158
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 7.1.0.Beta1
> Reporter: Radim Vansa
> Assignee: Dan Berindei
> Priority: Critical
> Attachments: tx.txt, views.txt
>
>
> When the cluster is merging, it is possible that a node is removed from the view although it is still responsive. Eventually the cluster is merged correctly, but since the node is reported as missing from the view, transaction originating from this node is rolled back.
> {code}
> 10:01:36,116 TRACE [org.infinispan.interceptors.TxInterceptor] (remote-thread-151) Rolling back remote transaction GlobalTransaction:<edg-perf02-39415>:28106:remote because either already completed(false) or originator no longer in the cluster(true).
> {code}
> However, even after this a successful response is sent to the originator:
> {code}
> 10:01:36,119 TRACE [org.infinispan.remoting.InboundInvocationHandlerImpl] (remote-thread-151) About to send back response null for command PrepareCommand {modifications=[PutKeyValueCommand{key=key_0000000000001318, value=[19 #1: 1195, ], flags=[SKIP_CACHE_LOAD, SKIP_REMOTE_LOOKUP], putIfAbsent=false, valueMatcher=MATCH_ALWAYS, metadata=EmbeddedMetadata{version=null}, successful=true}], onePhaseCommit=false, gtx=GlobalTransaction:<edg-perf02-39415>:28106:remote, cacheName='testCache', topologyId=47}
> {code}
> Originator then expects that the transaction was successfully prepared:
> {code}
> 10:01:36,124 TRACE [org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher] (DefaultStressor-9) Responses: [sender=edg-perf01-36235, received=true, suspected=false]
> [sender=edg-perf03-24110, received=true, suspected=false]
> 10:01:36,135 TRACE [org.infinispan.transaction.TransactionCoordinator] (DefaultStressor-9) Committing transaction GlobalTransaction:<edg-perf02-39415>:28106:local
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (ISPN-5163) A write operation with the SKIP_LOCKING flag can roll back the transaction
by Dan Berindei (JIRA)
Dan Berindei created ISPN-5163:
----------------------------------
Summary: A write operation with the SKIP_LOCKING flag can roll back the transaction
Key: ISPN-5163
URL: https://issues.jboss.org/browse/ISPN-5163
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 7.1.0.Beta1, 7.0.3.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 7.1.0.Final
When a write operation has the SKIP_LOCKING flag, it does not send a {{LockControlCommand}} to the primary owner, but it can send a {{ClusteredGetCommand}} with {{acquireRemoteLocks=true}} instead. The {{ClusteredGetCommmand}} will then execute a {{LockControlCommand}} with the origin not set properly, and {{TxInterceptor}} will roll back the transaction because the originator ({{null}}) appears to have left the cluster.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (ISPN-5158) Transaction rolled back but returns successful response
by Radim Vansa (JIRA)
[ https://issues.jboss.org/browse/ISPN-5158?page=com.atlassian.jira.plugin.... ]
Radim Vansa commented on ISPN-5158:
-----------------------------------
This looks like a limitation of the current fix, right? Or is there any conceptual problem with setting the origin properly?
And does that mean that the locking get() will sometimes return incorrect results, sometimes fail or always fail?
In both cases, could you link another JIRA + BZ to track the limitation?
> Transaction rolled back but returns successful response
> -------------------------------------------------------
>
> Key: ISPN-5158
> URL: https://issues.jboss.org/browse/ISPN-5158
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 7.1.0.Beta1
> Reporter: Radim Vansa
> Assignee: Dan Berindei
> Priority: Critical
> Attachments: tx.txt, views.txt
>
>
> When the cluster is merging, it is possible that a node is removed from the view although it is still responsive. Eventually the cluster is merged correctly, but since the node is reported as missing from the view, transaction originating from this node is rolled back.
> {code}
> 10:01:36,116 TRACE [org.infinispan.interceptors.TxInterceptor] (remote-thread-151) Rolling back remote transaction GlobalTransaction:<edg-perf02-39415>:28106:remote because either already completed(false) or originator no longer in the cluster(true).
> {code}
> However, even after this a successful response is sent to the originator:
> {code}
> 10:01:36,119 TRACE [org.infinispan.remoting.InboundInvocationHandlerImpl] (remote-thread-151) About to send back response null for command PrepareCommand {modifications=[PutKeyValueCommand{key=key_0000000000001318, value=[19 #1: 1195, ], flags=[SKIP_CACHE_LOAD, SKIP_REMOTE_LOOKUP], putIfAbsent=false, valueMatcher=MATCH_ALWAYS, metadata=EmbeddedMetadata{version=null}, successful=true}], onePhaseCommit=false, gtx=GlobalTransaction:<edg-perf02-39415>:28106:remote, cacheName='testCache', topologyId=47}
> {code}
> Originator then expects that the transaction was successfully prepared:
> {code}
> 10:01:36,124 TRACE [org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher] (DefaultStressor-9) Responses: [sender=edg-perf01-36235, received=true, suspected=false]
> [sender=edg-perf03-24110, received=true, suspected=false]
> 10:01:36,135 TRACE [org.infinispan.transaction.TransactionCoordinator] (DefaultStressor-9) Committing transaction GlobalTransaction:<edg-perf02-39415>:28106:local
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (ISPN-5162) MassIndexer race condition when using sharding
by Gustavo Fernandes (JIRA)
Gustavo Fernandes created ISPN-5162:
---------------------------------------
Summary: MassIndexer race condition when using sharding
Key: ISPN-5162
URL: https://issues.jboss.org/browse/ISPN-5162
Project: Infinispan
Issue Type: Bug
Components: Embedded Querying, Remote Querying
Affects Versions: 7.1.0.Beta1
Reporter: Gustavo Fernandes
Assignee: Gustavo Fernandes
Exposed by {{ShardingMassIndexTest}} intermittent failures.
Currently the search backend (hibernate search) is not capable of purging and flushing single indexes, it can only purge by entity type which in turn can involve several IndexManagers.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months