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

QueryInterceptor start() event mutates the SearchFactory multiple times

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

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 (Inactive)
              sgrinove Sanne Grinovero (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: