lucene-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/SOLR-8772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15175668#comment-15175668
] 

Gus Heck commented on SOLR-8772:
--------------------------------

Some Configurations might require the blob store for proper functioning. I think BlobStoreAware
should have a 
{code}public boolean requiredForStartup();{code}
 Also, it would be spiffy if the blob store could be automatically created at startup, either
via detecting a /blobs folder or via a {code}public void bootstrapBlobStore();{code} method
in BlobStoreAware? though options like replication factor etc become complicated.

> components that rely on blob store should be loaded as soon as it is available
> ------------------------------------------------------------------------------
>
>                 Key: SOLR-8772
>                 URL: https://issues.apache.org/jira/browse/SOLR-8772
>             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
slow
> 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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message