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

Avoid unnecessary load of index segment chunks during first creation

    XMLWordPrintable

Details

    Description

      org.infinispan.lucene.InfinispanIndexOutput.getChunkById(AdvancedCache, FileCacheKey, int, int, FileMetadata)
      is performing a get() operation for buffers even when it can know from the filesize that such an element will not be found. This is significantly slow when a CacheStore is used, as the cache won't have the value for sure and so it will attempt to load from the store.

      Attachments

        Activity

          People

            sgrinove Sanne Grinovero
            sgrinove Sanne Grinovero
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: