[infinispan-issues] [JBoss JIRA] (ISPN-4627) QueryInterceptor start() event mutates the SearchFactory multiple times

Sanne Grinovero (JIRA) issues at jboss.org
Fri Aug 8 17:48:29 EDT 2014


Sanne Grinovero created ISPN-4627:
-------------------------------------

             Summary: QueryInterceptor start() event mutates the SearchFactory multiple times
                 Key: ISPN-4627
                 URL: https://issues.jboss.org/browse/ISPN-4627
             Project: Infinispan
          Issue Type: Enhancement
      Security Level: Public (Everyone can see)
          Components: Embedded Querying
            Reporter: Sanne Grinovero
            Assignee: Gustavo Fernandes
            Priority: Minor
             Fix For: 7.0.0.Beta1


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



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the infinispan-issues mailing list