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

Avoid unnecessary load of index segment chunks during first creation

XMLWordPrintable

      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.

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

                Created:
                Updated:
                Resolved: