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

QueryInterceptor start() event mutates the SearchFactory multiple times

    XMLWordPrintable

    Details

      Description

      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).

        Attachments

          Activity

            People

            Assignee:
            sannegrinovero Sanne Grinovero
            Reporter:
            sannegrinovero Sanne Grinovero
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: