[
https://issues.apache.org/jira/browse/SOLR-1426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12755077#action_12755077
]
Abdul Chaudhry commented on SOLR-1426:
--------------------------------------
The perpetual option only makes sense for one command; that is the delta-import
command. I could not see a compelling use case for using perpetual with any
other command.
The abort should stop any in-flight delta-import which is the current behaviour
with the patch.
The sleep interval should be set using something like "perpetual.delay" and
default to a reasonable value such as 3 secs.
> Allow delta-import to run continously until aborted
> ---------------------------------------------------
>
> Key: SOLR-1426
> URL: https://issues.apache.org/jira/browse/SOLR-1426
> Project: Solr
> Issue Type: Improvement
> Components: contrib - DataImportHandler
> Affects Versions: 1.4
> Reporter: Abdul Chaudhry
> Assignee: Noble Paul
> Fix For: 1.5
>
> Attachments: delta-import-perpetual.patch
>
>
> Modify the delta-import so that it takes a perpetual flag that makes it run
> continuously until its aborted.
> http://localhost:8985/solr/select/?command=delta-import&clean=false&qt=/dataimport&commit=true&perpetual=true
> perpetual means the delta import will keep running and pause for a few
> seconds when running queries.
> The only way to stop delta import will be to explicitly issue an abort like
> so:-
> http://localhost:8985/solr/tickets/select/?command=abort
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.