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

QueryInterceptor start() event mutates the SearchFactory multiple times

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Minor Minor
    • 7.0.0.Beta1
    • None
    • Embedded Querying
    • None

      Just spotted while reviewing unrelated patches:
      the @Start annotated method of component QueryInterceptor loops throught the known entries of the clusterRegistry field, and will reboot the SearchFactory once for each entry.

      It's important to use the capability to pass multiple class types at once when mutating the SearchFactory, as this is an extremely slow operation, and especially in this case, if it's a node joining an existing cluster we expect to see a considerable amount of indexed types (probably all of them).

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

              Created:
              Updated:
              Resolved: