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

Adrian Nistor (JIRA) issues at jboss.org
Mon Aug 11 02:14:30 EDT 2014


     [ https://issues.jboss.org/browse/ISPN-4627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrian Nistor updated ISPN-4627:
--------------------------------

        Status: Resolved  (was: Pull Request Sent)
    Resolution: Done


Integrated in master. Thanks!

> 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: Sanne Grinovero
>            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