[infinispan-issues] [JBoss JIRA] (ISPN-6977) NumOwnersNodeCrashInSequenceTest random failures

Dan Berindei (JIRA) issues at jboss.org
Fri Aug 26 06:47:00 EDT 2016


Dan Berindei created ISPN-6977:
----------------------------------

             Summary: NumOwnersNodeCrashInSequenceTest random failures
                 Key: ISPN-6977
                 URL: https://issues.jboss.org/browse/ISPN-6977
             Project: Infinispan
          Issue Type: Bug
          Components: Core
    Affects Versions: 8.2.4.Final, 9.0.0.Alpha4
            Reporter: Dan Berindei
            Assignee: Dan Berindei
            Priority: Critical
             Fix For: 9.0.0.Beta1


The test (and {{NumOwnersNodeStopInSequenceTest}} as well) uses {{StateSequencerUtil.advanceOnInboundRpc()}}, which replaces the {{PerCacheInboundInvocationHandler}} and rewires all the components.

The problem is that rewiring {{StateConsumerImpl}} causes it to create a new {{SemaphoreCompletionService}}, but there's no synchronization when reading the field, a "background" task could finish on another thread and release the permit on the old {{SemaphoreCompletionService}} instance.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list