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

org.infinispan.query.clustered.QueryBox does not implement eviction for zombie iterators

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • Embedded Querying

      Although the javadoc hints to some eviction mechanism this is not actually implemented.

      A linked list 'ageOrderedQueries' is maintained so that active queries move to the head of the list and the list is limited to 3000 items. Still, there is no mechanism that actually removes the zombie queries from the 'queries' ConcurrentMap.

            [ISPN-9466] org.infinispan.query.clustered.QueryBox does not implement eviction for zombie iterators

            The QueryBox component is only used when doing CacheQuery with the LAZY param, such as

            cacheQuery.iterator(new FetchOptions().fetchMode(FetchOptions.FetchMode.LAZY)
            

            Since lazy iterators only makes sense with distributed Lucene Queries, and CacheQuery is being deprecated in ISPN 11 (replaced by Query that is index agnostic), I am going to close this issue.

            Gustavo Fernandes (Inactive) added a comment - The QueryBox component is only used when doing CacheQuery with the LAZY param, such as cacheQuery.iterator( new FetchOptions().fetchMode(FetchOptions.FetchMode.LAZY) Since lazy iterators only makes sense with distributed Lucene Queries, and CacheQuery is being deprecated in ISPN 11 (replaced by Query that is index agnostic), I am going to close this issue.

              gfernand@redhat.com Gustavo Fernandes (Inactive)
              anistor Adrian Nistor (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: