Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-6977

NumOwnersNodeCrashInSequenceTest random failures

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

          People

            dberinde@redhat.com Dan Berindei (Inactive)
            dberinde@redhat.com Dan Berindei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: