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

Segments locked during merge

XMLWordPrintable

      We're getting failures on acquiring locks during merges. Here is the configuration:
      Infinispan: 3 caches: lockCache (replicated, volatile, no eviction), metadataCache (replicated, persisted, no eviction), dataCache (distributed, persisted, eviction).
      Node 1: coordinator, IndexWriter open constantly and writing a stream of documents
      Node 2: opens a read-only IndexReader on-demand to perform queries (we're moving to use IndexReader.reopen() ).

      Occasionally when performing queries on node 2 we get the attached stack traces. We then get corrupt indexes (java.io.IOException: Read past EOF).

      We are using the default Distributed Segment Lock Reader, default 16K chunks and no tuning of the merge policies.

        1. rabbit-1-mergelock.log
          6 kB
          Tristan Tarrant
        2. rabbit-2-mergelock.log
          6 kB
          Tristan Tarrant

              sgrinove Sanne Grinovero (Inactive)
              ttarrant@redhat.com Tristan Tarrant
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: