[JBoss JIRA] (ISPN-4131) Lock acquired forever with delayed PrepareCommand
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ISPN-4131?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on ISPN-4131:
-----------------------------------------------
Dan Berindei <dberinde(a)redhat.com> changed the Status of [bug 1080314|https://bugzilla.redhat.com/show_bug.cgi?id=1080314] from NEW to ASSIGNED
> Lock acquired forever with delayed PrepareCommand
> -------------------------------------------------
>
> Key: ISPN-4131
> URL: https://issues.jboss.org/browse/ISPN-4131
> Project: Infinispan
> Issue Type: Bug
> Components: Transactions
> Affects Versions: 6.0.2.Final, 7.0.0.Alpha1
> Reporter: Radim Vansa
> Assignee: Dan Berindei
> Priority: Critical
> Labels: 630betablocker
>
> Distributed transactional cache:
> 1. A sends Prepare to B
> 2. B receives Prepare, but due to ongoing ST it is blocked
> 3. B replication timeout elapses
> 4. B sends Rollback, this does not find the TX as Prepare was not executed yet. The transaction is put into completedTransactions.
> 5. Completed transactions timeout elapses. This is by default 15 seconds, way shorter than ST timeout (due to which the Prepare was blocked)
> 6. Prepare is executed on B, acquiring lock on K
> Nobody will rollback the TX as originator thinks it was already rolled back.
> Result: key K will be locked forever, all attempts to update/remove it will fail.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 5 months
[JBoss JIRA] (ISPN-3923) Infinispan bundle resolution fails
by Ion Savin (JIRA)
[ https://issues.jboss.org/browse/ISPN-3923?page=com.atlassian.jira.plugin.... ]
Ion Savin updated ISPN-3923:
----------------------------
Fix Version/s: 5.2.10.Final
(was: 5.2.9.Final)
> Infinispan bundle resolution fails
> ----------------------------------
>
> Key: ISPN-3923
> URL: https://issues.jboss.org/browse/ISPN-3923
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 5.2.8.Final, 6.0.0.Final
> Environment: Eclipse Virgo
> Reporter: Mathilde Ffrench
> Assignee: Brett Meyer
> Priority: Trivial
> Labels: osgi
> Fix For: 5.2.10.Final
>
>
> In bundle infinispan-commons-6.0.0.Final, the MANIFEST file contains sun.misc import. This package is a system package which is in the boot delegation package list and consequently should not be imported by bundles as it is managed by JVM boot classloader (http://wiki.osgi.org/wiki/Boot_Delegation) ...
> I guess that sun.misc is also a bootdelegated package in many other OSGI container like Apache Felix so the sun.misc package should be remove from import list.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 5 months
[JBoss JIRA] (ISPN-3923) Infinispan bundle resolution fails
by Ion Savin (JIRA)
[ https://issues.jboss.org/browse/ISPN-3923?page=com.atlassian.jira.plugin.... ]
Ion Savin closed ISPN-3923.
---------------------------
Resolution: Done
> Infinispan bundle resolution fails
> ----------------------------------
>
> Key: ISPN-3923
> URL: https://issues.jboss.org/browse/ISPN-3923
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 5.2.8.Final, 6.0.0.Final
> Environment: Eclipse Virgo
> Reporter: Mathilde Ffrench
> Assignee: Brett Meyer
> Priority: Trivial
> Labels: osgi
> Fix For: 5.2.10.Final
>
>
> In bundle infinispan-commons-6.0.0.Final, the MANIFEST file contains sun.misc import. This package is a system package which is in the boot delegation package list and consequently should not be imported by bundles as it is managed by JVM boot classloader (http://wiki.osgi.org/wiki/Boot_Delegation) ...
> I guess that sun.misc is also a bootdelegated package in many other OSGI container like Apache Felix so the sun.misc package should be remove from import list.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 5 months
[JBoss JIRA] (ISPN-3923) Infinispan bundle resolution fails
by Ion Savin (JIRA)
[ https://issues.jboss.org/browse/ISPN-3923?page=com.atlassian.jira.plugin.... ]
Ion Savin reopened ISPN-3923:
-----------------------------
> Infinispan bundle resolution fails
> ----------------------------------
>
> Key: ISPN-3923
> URL: https://issues.jboss.org/browse/ISPN-3923
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 5.2.8.Final, 6.0.0.Final
> Environment: Eclipse Virgo
> Reporter: Mathilde Ffrench
> Assignee: Brett Meyer
> Priority: Trivial
> Labels: osgi
> Fix For: 5.2.9.Final
>
>
> In bundle infinispan-commons-6.0.0.Final, the MANIFEST file contains sun.misc import. This package is a system package which is in the boot delegation package list and consequently should not be imported by bundles as it is managed by JVM boot classloader (http://wiki.osgi.org/wiki/Boot_Delegation) ...
> I guess that sun.misc is also a bootdelegated package in many other OSGI container like Apache Felix so the sun.misc package should be remove from import list.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 5 months
[JBoss JIRA] (ISPN-3923) Infinispan bundle resolution fails
by Ion Savin (JIRA)
[ https://issues.jboss.org/browse/ISPN-3923?page=com.atlassian.jira.plugin.... ]
Ion Savin updated ISPN-3923:
----------------------------
Status: Pull Request Sent (was: Open)
> Infinispan bundle resolution fails
> ----------------------------------
>
> Key: ISPN-3923
> URL: https://issues.jboss.org/browse/ISPN-3923
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 5.2.8.Final, 6.0.0.Final
> Environment: Eclipse Virgo
> Reporter: Mathilde Ffrench
> Assignee: Brett Meyer
> Priority: Trivial
> Labels: osgi
> Fix For: 5.2.9.Final
>
>
> In bundle infinispan-commons-6.0.0.Final, the MANIFEST file contains sun.misc import. This package is a system package which is in the boot delegation package list and consequently should not be imported by bundles as it is managed by JVM boot classloader (http://wiki.osgi.org/wiki/Boot_Delegation) ...
> I guess that sun.misc is also a bootdelegated package in many other OSGI container like Apache Felix so the sun.misc package should be remove from import list.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 5 months
[JBoss JIRA] (ISPN-3923) Infinispan bundle resolution fails
by Ion Savin (JIRA)
[ https://issues.jboss.org/browse/ISPN-3923?page=com.atlassian.jira.plugin.... ]
Ion Savin updated ISPN-3923:
----------------------------
Fix Version/s: 5.2.9.Final
> Infinispan bundle resolution fails
> ----------------------------------
>
> Key: ISPN-3923
> URL: https://issues.jboss.org/browse/ISPN-3923
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 5.2.8.Final, 6.0.0.Final
> Environment: Eclipse Virgo
> Reporter: Mathilde Ffrench
> Assignee: Brett Meyer
> Priority: Trivial
> Labels: osgi
> Fix For: 5.2.9.Final
>
>
> In bundle infinispan-commons-6.0.0.Final, the MANIFEST file contains sun.misc import. This package is a system package which is in the boot delegation package list and consequently should not be imported by bundles as it is managed by JVM boot classloader (http://wiki.osgi.org/wiki/Boot_Delegation) ...
> I guess that sun.misc is also a bootdelegated package in many other OSGI container like Apache Felix so the sun.misc package should be remove from import list.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 5 months
[JBoss JIRA] (ISPN-3923) Infinispan bundle resolution fails
by Ion Savin (JIRA)
[ https://issues.jboss.org/browse/ISPN-3923?page=com.atlassian.jira.plugin.... ]
Ion Savin updated ISPN-3923:
----------------------------
Status: Closed (was: Pull Request Sent)
Resolution: Done
> Infinispan bundle resolution fails
> ----------------------------------
>
> Key: ISPN-3923
> URL: https://issues.jboss.org/browse/ISPN-3923
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 5.2.8.Final, 6.0.0.Final
> Environment: Eclipse Virgo
> Reporter: Mathilde Ffrench
> Assignee: Brett Meyer
> Priority: Trivial
> Labels: osgi
> Fix For: 5.2.9.Final
>
>
> In bundle infinispan-commons-6.0.0.Final, the MANIFEST file contains sun.misc import. This package is a system package which is in the boot delegation package list and consequently should not be imported by bundles as it is managed by JVM boot classloader (http://wiki.osgi.org/wiki/Boot_Delegation) ...
> I guess that sun.misc is also a bootdelegated package in many other OSGI container like Apache Felix so the sun.misc package should be remove from import list.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 5 months
[JBoss JIRA] (ISPN-4239) Commands received before the first topology where the local node is a member are not ignored
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ISPN-4239?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on ISPN-4239:
-----------------------------------------------
Dan Berindei <dberinde(a)redhat.com> changed the Status of [bug 1096073|https://bugzilla.redhat.com/show_bug.cgi?id=1096073] from NEW to ASSIGNED
> Commands received before the first topology where the local node is a member are not ignored
> --------------------------------------------------------------------------------------------
>
> Key: ISPN-4239
> URL: https://issues.jboss.org/browse/ISPN-4239
> Project: Infinispan
> Issue Type: Bug
> Components: Core, State Transfer
> Affects Versions: 6.0.2.Final, 7.0.0.Alpha3
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Labels: testsuite_stability
> Fix For: 7.0.0.Alpha4, 7.0.0.Final
>
>
> The ISPN-3731 fix was supposed to prevent a joiner from running commands broadcasted by other members before the joiner became a member in the cache topology.
> However, the fix was incomplete, and commands received before the joiner became a member were still executed. This is causing failures in {{StateTransferReplicationQueueTest}}, which is issuing a put(k, v) and a remove(k) and expecting the key to be removed. It can happen that the put(k, v) command is executed before the joiner becomes a member, but the remove(k) command is rejected because it came from a topology where the joiner was not a member:
> {noformat}
> 12:54:41,412 TRACE (testng-StateTransferReplicationQueueTest:nbst-replqueue) [StateTransferManagerImpl] Installing new cache topology CacheTopology{id=3, currentCH=ReplicatedConsistentHash{members=[StateTransferReplicationQueueTest-NodeA-8686], numSegments=1, primaryOwners=[0]}, pendingCH=null} on cache nbst-replqueue
> 12:54:41,412 TRACE (testng-StateTransferReplicationQueueTest:nbst-replqueue) [StateTransferLockImpl] Signalling topology 3 is installed
> 12:54:41,433 TRACE (Incoming-1,StateTransferReplicationQueueTest-NodeC-12962:) [InboundInvocationHandlerImpl] Calling perform() on MultipleRpcCommand{commands=[..., PrepareCommand {modifications=[PutKeyValueCommand{key=test58, value=org.infinispan.statetransfer.StateTransferReplicationQueueTest$PojoValue@59, flags=null, putIfAbsent=false, valueMatcher=MATCH_ALWAYS, metadata=EmbeddedMetadata{version=null}, successful=true}], onePhaseCommit=true, gtx=GlobalTransaction:<StateTransferReplicationQueueTest-NodeA-8686>:6969:local, cacheName='nbst-replqueue', topologyId=3}], cacheName='nbst-replqueue'}
> 12:54:41,439 TRACE (remote-thread-StateTransferReplicationQueueTest-NodeC-p3980-t1:nbst-replqueue) [StateTransferManagerImpl] Installing new cache topology CacheTopology{id=4, currentCH=ReplicatedConsistentHash{members=[StateTransferReplicationQueueTest-NodeA-8686], numSegments=1, primaryOwners=[0]}, pendingCH=ReplicatedConsistentHash{members=[StateTransferReplicationQueueTest-NodeA-8686, StateTransferReplicationQueueTest-NodeC-12962], numSegments=1, primaryOwners=[0]}} on cache nbst-replqueue
> 12:54:41,439 TRACE (remote-thread-StateTransferReplicationQueueTest-NodeC-p3980-t1:nbst-replqueue) [StateTransferManagerImpl] This is the first topology in which the local node is a member
> 12:54:41,462 TRACE (Incoming-1,StateTransferReplicationQueueTest-NodeC-12962:nbst-replqueue) [ReadCommittedEntry] Updating entry (key=test58 removed=false valid=true changed=true created=true loaded=false value=org.infinispan.statetransfer.StateTransferReplicationQueueTest$PojoValue@59 metadata=EmbeddedMetadata{version=null}, providedMetadata=null)
> 12:54:41,491 TRACE (Incoming-1,StateTransferReplicationQueueTest-NodeC-12962:) [CommandAwareRpcDispatcher] Attempting to execute command: MultipleRpcCommand{commands=[PrepareCommand {modifications=[RemoveCommand{key=test58, value=null, flags=null, valueMatcher=MATCH_ALWAYS}], onePhaseCommit=true, gtx=GlobalTransaction:<StateTransferReplicationQueueTest-NodeA-8686>:6970:local, cacheName='nbst-replqueue', topologyId=3}, ...], cacheName='nbst-replqueue'} [sender=StateTransferReplicationQueueTest-NodeA-8686]
> 12:54:41,493 TRACE (Incoming-1,StateTransferReplicationQueueTest-NodeC-12962:) [StateTransferLockImpl] Waiting for transaction data for topology 3, current topology is 3
> 12:54:41,493 TRACE (Incoming-1,StateTransferReplicationQueueTest-NodeC-12962:) [InboundInvocationHandlerImpl] Ignoring command sent before the local node was a member (command topology id is 3)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 5 months
[JBoss JIRA] (ISPN-4239) Commands received before the first topology where the local node is a member are not ignored
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ISPN-4239?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration updated ISPN-4239:
------------------------------------------
Bugzilla Update: Perform
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1096073
> Commands received before the first topology where the local node is a member are not ignored
> --------------------------------------------------------------------------------------------
>
> Key: ISPN-4239
> URL: https://issues.jboss.org/browse/ISPN-4239
> Project: Infinispan
> Issue Type: Bug
> Components: Core, State Transfer
> Affects Versions: 6.0.2.Final, 7.0.0.Alpha3
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Labels: testsuite_stability
> Fix For: 7.0.0.Alpha4, 7.0.0.Final
>
>
> The ISPN-3731 fix was supposed to prevent a joiner from running commands broadcasted by other members before the joiner became a member in the cache topology.
> However, the fix was incomplete, and commands received before the joiner became a member were still executed. This is causing failures in {{StateTransferReplicationQueueTest}}, which is issuing a put(k, v) and a remove(k) and expecting the key to be removed. It can happen that the put(k, v) command is executed before the joiner becomes a member, but the remove(k) command is rejected because it came from a topology where the joiner was not a member:
> {noformat}
> 12:54:41,412 TRACE (testng-StateTransferReplicationQueueTest:nbst-replqueue) [StateTransferManagerImpl] Installing new cache topology CacheTopology{id=3, currentCH=ReplicatedConsistentHash{members=[StateTransferReplicationQueueTest-NodeA-8686], numSegments=1, primaryOwners=[0]}, pendingCH=null} on cache nbst-replqueue
> 12:54:41,412 TRACE (testng-StateTransferReplicationQueueTest:nbst-replqueue) [StateTransferLockImpl] Signalling topology 3 is installed
> 12:54:41,433 TRACE (Incoming-1,StateTransferReplicationQueueTest-NodeC-12962:) [InboundInvocationHandlerImpl] Calling perform() on MultipleRpcCommand{commands=[..., PrepareCommand {modifications=[PutKeyValueCommand{key=test58, value=org.infinispan.statetransfer.StateTransferReplicationQueueTest$PojoValue@59, flags=null, putIfAbsent=false, valueMatcher=MATCH_ALWAYS, metadata=EmbeddedMetadata{version=null}, successful=true}], onePhaseCommit=true, gtx=GlobalTransaction:<StateTransferReplicationQueueTest-NodeA-8686>:6969:local, cacheName='nbst-replqueue', topologyId=3}], cacheName='nbst-replqueue'}
> 12:54:41,439 TRACE (remote-thread-StateTransferReplicationQueueTest-NodeC-p3980-t1:nbst-replqueue) [StateTransferManagerImpl] Installing new cache topology CacheTopology{id=4, currentCH=ReplicatedConsistentHash{members=[StateTransferReplicationQueueTest-NodeA-8686], numSegments=1, primaryOwners=[0]}, pendingCH=ReplicatedConsistentHash{members=[StateTransferReplicationQueueTest-NodeA-8686, StateTransferReplicationQueueTest-NodeC-12962], numSegments=1, primaryOwners=[0]}} on cache nbst-replqueue
> 12:54:41,439 TRACE (remote-thread-StateTransferReplicationQueueTest-NodeC-p3980-t1:nbst-replqueue) [StateTransferManagerImpl] This is the first topology in which the local node is a member
> 12:54:41,462 TRACE (Incoming-1,StateTransferReplicationQueueTest-NodeC-12962:nbst-replqueue) [ReadCommittedEntry] Updating entry (key=test58 removed=false valid=true changed=true created=true loaded=false value=org.infinispan.statetransfer.StateTransferReplicationQueueTest$PojoValue@59 metadata=EmbeddedMetadata{version=null}, providedMetadata=null)
> 12:54:41,491 TRACE (Incoming-1,StateTransferReplicationQueueTest-NodeC-12962:) [CommandAwareRpcDispatcher] Attempting to execute command: MultipleRpcCommand{commands=[PrepareCommand {modifications=[RemoveCommand{key=test58, value=null, flags=null, valueMatcher=MATCH_ALWAYS}], onePhaseCommit=true, gtx=GlobalTransaction:<StateTransferReplicationQueueTest-NodeA-8686>:6970:local, cacheName='nbst-replqueue', topologyId=3}, ...], cacheName='nbst-replqueue'} [sender=StateTransferReplicationQueueTest-NodeA-8686]
> 12:54:41,493 TRACE (Incoming-1,StateTransferReplicationQueueTest-NodeC-12962:) [StateTransferLockImpl] Waiting for transaction data for topology 3, current topology is 3
> 12:54:41,493 TRACE (Incoming-1,StateTransferReplicationQueueTest-NodeC-12962:) [InboundInvocationHandlerImpl] Ignoring command sent before the local node was a member (command topology id is 3)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 5 months