lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gus Heck (JIRA)" <>
Subject [jira] [Commented] (SOLR-8772) components that rely on blob store should be loaded as soon as it is available
Date Thu, 03 Mar 2016 14:06:18 GMT


Gus Heck commented on SOLR-8772:

If you mean something like ResourceLoaderAware from my earlier patches which merely added
another line here in
      // Finally tell anyone who wants to know
      resourceLoader.inform(this); // last call before the latch is released.
   } catch (Throwable e) {
That's fine, but if you mean to let the core call 
    } finally {
      // allow firstSearcher events to fire and make sure it is released
before the processed blob is available that's a problem for the use case that motivated this
and for pretty much any use case that relies on that component to provide an accurate search

> components that rely on blob store should be loaded as soon as it is available
> ------------------------------------------------------------------------------
>                 Key: SOLR-8772
>                 URL:
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Noble Paul
>            Assignee: Noble Paul
> If a component is set as {{runtimeLib=true}} it automatically becomes {{startup=lazy}}
which means there is no way we can know that if the component could be successfully loaded
till a request is made and the component is used. This is suboptimal behavior. The ops will
have no means of knowing if everything is OK. Also , the first request will be unpredictably
> This means that , the server would keep checking for availability of blob store ( .system
collection) and all components will get loaded as soon as the {{.system}} collection is available
for querying
> Also, it will be possible for components to have an interface called {{BlobStoreAware}}
. The component would get a callback as and when the blob store is available 

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message