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

Offer way to implement includeCurrentState based on indexed query

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None
    • None

    Description

      Based on the infinispan-dev mailing list discussion from September 2014 titled
      'Feedback and requests on clustered and remote listeners'.

      Loading the whole state of the data grid to then filter / convert them can be costly especially if data has been passivated.

      An alternative could be offered that would delegate the includeCurrentState filtering with a global indexed query. That query would need to be provided by the user. While the query is run, the list of change events matching should be piled up and released once the query has be run and the converted events are send to the clustered listener.

      Maybe that should be only done for "continuous" queries as we could use the query for both the initial and continuous side of the query transparently.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-engineering-ebernard Emmanuel Bernard
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: