[jira] [Updated] (SOLR-9417) Allow daemons to terminate when they finish iterating a topic
[ https://issues.apache.org/jira/browse/SOLR-9417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Bernstein updated SOLR-9417: - Attachment: SOLR-9417.patch Patch with more robust parallel test. I'll do some manual testing to watch the terminating daemons in action. > Allow daemons to terminate when they finish iterating a topic > - > > Key: SOLR-9417 > URL: https://issues.apache.org/jira/browse/SOLR-9417 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) >Reporter: Joel Bernstein >Assignee: Joel Bernstein > Fix For: 6.3 > > Attachments: SOLR-9417.patch, SOLR-9417.patch, SOLR-9417.patch > > > The daemon expression currently runs until it's killed. This ticket will add > a new *terminate* parameter to the daemon expression that will allow the > daemon to shut itself down when it's finished processing a topic. > There are a couple of small changes that need to be made to allow the daemon > to terminate on it's own: > 1) The daemon will need to be passed the Map of all daemons in the /stream > handler. This will allow the DaemonStream to remove itself from the Map when > it terminates. > 2) Logic needs to be added for the daemon to exit it's run loop if the topic > signals it had a zero Tuple run. The *sleepMillis* value in the EOF Tuple can > be used for this purpose. If sleepMillis is greater then 0 then this signals > a zero Tuple run. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-9417) Allow daemons to terminate when they finish iterating a topic
[ https://issues.apache.org/jira/browse/SOLR-9417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Bernstein updated SOLR-9417: - Summary: Allow daemons to terminate when they finish iterating a topic (was: Allow daemons to terminate) > Allow daemons to terminate when they finish iterating a topic > - > > Key: SOLR-9417 > URL: https://issues.apache.org/jira/browse/SOLR-9417 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) >Reporter: Joel Bernstein >Assignee: Joel Bernstein > Fix For: 6.3 > > Attachments: SOLR-9417.patch, SOLR-9417.patch > > > The daemon expression currently runs until it's killed. This ticket will add > a new *terminate* parameter to the daemon expression that will allow the > daemon to shut itself down when it's finished processing a topic. > There are a couple of small changes that need to be made to allow the daemon > to terminate on it's own: > 1) The daemon will need to be passed the Map of all daemons in the /stream > handler. This will allow the DaemonStream to remove itself from the Map when > it terminates. > 2) Logic needs to be added for the daemon to exit it's run loop if the topic > signals it had a zero Tuple run. The *sleepMillis* value in the EOF Tuple can > be used for this purpose. If sleepMillis is greater then 0 then this signals > a zero Tuple run. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-9417) Allow daemons to terminate
[ https://issues.apache.org/jira/browse/SOLR-9417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Bernstein updated SOLR-9417: - Description: The daemon expression currently runs until it's killed. This ticket will add a new *terminate* parameter to the daemon expression that will allow the daemon to shut itself down when it's finished processing a topic. There are a couple of small changes that need to be made to allow the daemon to terminate on it's own: 1) The daemon will need to be passed the Map of all daemons in the /stream handler. This will allow the DaemonStream to remove itself from the Map when it terminates. 2) Logic needs to be added for the daemon to exit it's run loop if the topic signals it had a zero Tuple run. The *sleepMillis* value in the EOF Tuple can be used for this purpose. If sleepMillis is greater then 0 then this signals a zero Tuple run. was: The daemon expression currently runs until it's killed. This ticket will add a new *terminate* parameter to the daemon expression that will allow the daemon to shut itself down when it's finished processing a topic queue. There are a couple of small changes that need to be made to allow the daemon to terminate on it's own: 1) The daemon will need to be passed the Map of all daemons in the /stream handler. This will allow the DaemonStream to remove itself from the Map when it terminates. 2) Logic needs to be added for the daemon to exit it's run loop if the topic signals it had a zero Tuple run. The *sleepMillis* value in the EOF Tuple can be used for this purpose. If sleepMillis is greater then 0 then this signals a zero Tuple run. > Allow daemons to terminate > -- > > Key: SOLR-9417 > URL: https://issues.apache.org/jira/browse/SOLR-9417 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) >Reporter: Joel Bernstein >Assignee: Joel Bernstein > Fix For: 6.3 > > Attachments: SOLR-9417.patch, SOLR-9417.patch > > > The daemon expression currently runs until it's killed. This ticket will add > a new *terminate* parameter to the daemon expression that will allow the > daemon to shut itself down when it's finished processing a topic. > There are a couple of small changes that need to be made to allow the daemon > to terminate on it's own: > 1) The daemon will need to be passed the Map of all daemons in the /stream > handler. This will allow the DaemonStream to remove itself from the Map when > it terminates. > 2) Logic needs to be added for the daemon to exit it's run loop if the topic > signals it had a zero Tuple run. The *sleepMillis* value in the EOF Tuple can > be used for this purpose. If sleepMillis is greater then 0 then this signals > a zero Tuple run. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-9417) Allow daemons to terminate
[ https://issues.apache.org/jira/browse/SOLR-9417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Bernstein updated SOLR-9417: - Attachment: SOLR-9417.patch Added a very simple test case, which shows a daemon terminating when the underlying topic returns no Tuples. More to follow... > Allow daemons to terminate > -- > > Key: SOLR-9417 > URL: https://issues.apache.org/jira/browse/SOLR-9417 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) >Reporter: Joel Bernstein >Assignee: Joel Bernstein > Fix For: 6.3 > > Attachments: SOLR-9417.patch, SOLR-9417.patch > > > The daemon expression currently runs until it's killed. This ticket will add > a new *terminate* parameter to the daemon expression that will allow the > daemon to shut itself down when it's finished processing a topic queue. > There are a couple of small changes that need to be made to allow the daemon > to terminate on it's own: > 1) The daemon will need to be passed the Map of all daemons in the /stream > handler. This will allow the DaemonStream to remove itself from the Map when > it terminates. > 2) Logic needs to be added for the daemon to exit it's run loop if the topic > signals it had a zero Tuple run. The *sleepMillis* value in the EOF Tuple can > be used for this purpose. If sleepMillis is greater then 0 then this signals > a zero Tuple run. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-9417) Allow daemons to terminate
[ https://issues.apache.org/jira/browse/SOLR-9417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Bernstein updated SOLR-9417: - Description: The daemon expression currently runs until it's killed. This ticket will add a new *terminate* parameter to the daemon expression that will allow the daemon to shut itself down when it's finished processing a topic queue. There are a couple of small changes that need to be made to allow the daemon to terminate on it's own: 1) The daemon will need to be passed the Map of all daemons in the /stream handler. This will allow the DaemonStream to remove itself from the Map when it terminates. 2) Logic needs to be added for the daemon to exit it's run loop if the topic signals it had a zero Tuple run. The *sleepMillis* value in the EOF Tuple can be used for this purpose. If sleepMillis is greater then 0 then this signals a zero Tuple run. was: The daemon expression currently runs until it's killed. This ticket will add a new *terminate* parameter to the daemon expression that will allow the daemon to shut itself down when it's finished processing a topic queue. There a couple of small changes that need to be made to allow the daemon to terminate on it's own: 1) The daemon will need to be passed the Map of all daemons in the /stream handler. This will allow the DaemonStream to remove itself from the Map when it terminates. 2) Logic needs to be added for the daemon to exit it's run loop if the topic signals it had a zero Tuple run. The *sleepMillis* value in the EOF Tuple can be used for this purpose. If sleepMillis is greater then 0 then this signals a zero Tuple run. > Allow daemons to terminate > -- > > Key: SOLR-9417 > URL: https://issues.apache.org/jira/browse/SOLR-9417 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) >Reporter: Joel Bernstein >Assignee: Joel Bernstein > Fix For: 6.3 > > Attachments: SOLR-9417.patch > > > The daemon expression currently runs until it's killed. This ticket will add > a new *terminate* parameter to the daemon expression that will allow the > daemon to shut itself down when it's finished processing a topic queue. > There are a couple of small changes that need to be made to allow the daemon > to terminate on it's own: > 1) The daemon will need to be passed the Map of all daemons in the /stream > handler. This will allow the DaemonStream to remove itself from the Map when > it terminates. > 2) Logic needs to be added for the daemon to exit it's run loop if the topic > signals it had a zero Tuple run. The *sleepMillis* value in the EOF Tuple can > be used for this purpose. If sleepMillis is greater then 0 then this signals > a zero Tuple run. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-9417) Allow daemons to terminate
[ https://issues.apache.org/jira/browse/SOLR-9417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Bernstein updated SOLR-9417: - Attachment: SOLR-9417.patch Initial patch without tests. > Allow daemons to terminate > -- > > Key: SOLR-9417 > URL: https://issues.apache.org/jira/browse/SOLR-9417 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) >Reporter: Joel Bernstein >Assignee: Joel Bernstein > Fix For: 6.3 > > Attachments: SOLR-9417.patch > > > The daemon expression currently runs until it's killed. This ticket will add > a new *terminate* parameter to the daemon expression that will allow the > daemon to shut itself down when it's finished processing a topic queue. > There a couple of small changes that need to be made to allow the daemon to > terminate on it's own: > 1) The daemon will need to be passed the Map of all daemons in the /stream > handler. This will allow the DaemonStream to remove itself from the Map when > it terminates. > 2) Logic needs to be added for the daemon to exit it's run loop if the topic > signals it had a zero Tuple run. The *sleepMillis* value in the EOF Tuple can > be used for this purpose. If sleepMillis is greater then 0 then this signals > a zero Tuple run. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-9417) Allow daemons to terminate
[ https://issues.apache.org/jira/browse/SOLR-9417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Bernstein updated SOLR-9417: - Description: The daemon expression currently runs until it's killed. This ticket will add a new *terminate* parameter to the daemon expression that will allow the daemon to shut itself down when it's finished processing a topic queue. There a couple of small changes that need to be made to allow the daemon to terminate on it's own: 1) The daemon will need to be passed the Map of all daemons in the /stream handler. This will allow the DaemonStream to remove itself from the Map when it terminates. 2) Logic needs to be added for the daemon to exit it's run loop if the topic signals it had a zero Tuple run. The *sleepMillis* value in the EOF Tuple can be used for this purpose. If sleepMillis is greater then 0 then this signals a zero Tuple run. was:The daemon expression currently runs until it's killed. This ticket will add a new *terminate* parameter to the daemon expression that will allow the daemon to shut itself down when it's finished processing a topic queue. > Allow daemons to terminate > -- > > Key: SOLR-9417 > URL: https://issues.apache.org/jira/browse/SOLR-9417 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) >Reporter: Joel Bernstein >Assignee: Joel Bernstein > Fix For: 6.3 > > > The daemon expression currently runs until it's killed. This ticket will add > a new *terminate* parameter to the daemon expression that will allow the > daemon to shut itself down when it's finished processing a topic queue. > There a couple of small changes that need to be made to allow the daemon to > terminate on it's own: > 1) The daemon will need to be passed the Map of all daemons in the /stream > handler. This will allow the DaemonStream to remove itself from the Map when > it terminates. > 2) Logic needs to be added for the daemon to exit it's run loop if the topic > signals it had a zero Tuple run. The *sleepMillis* value in the EOF Tuple can > be used for this purpose. If sleepMillis is greater then 0 then this signals > a zero Tuple run. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-9417) Allow daemons to terminate
[ https://issues.apache.org/jira/browse/SOLR-9417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Bernstein updated SOLR-9417: - Fix Version/s: 6.3 > Allow daemons to terminate > -- > > Key: SOLR-9417 > URL: https://issues.apache.org/jira/browse/SOLR-9417 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) >Reporter: Joel Bernstein >Assignee: Joel Bernstein > Fix For: 6.3 > > > The daemon expression currently runs until it's killed. This ticket will add > a new *terminate* parameter to the daemon expression that will allow the > daemon to shut itself down when it's finished processing a topic queue. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-9417) Allow daemons to terminate
[ https://issues.apache.org/jira/browse/SOLR-9417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Bernstein updated SOLR-9417: - Summary: Allow daemons to terminate (was: Allow Daemon to terminate) > Allow daemons to terminate > -- > > Key: SOLR-9417 > URL: https://issues.apache.org/jira/browse/SOLR-9417 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) >Reporter: Joel Bernstein > > The daemon expression currently runs until it's killed. This ticket will add > a new *terminate* parameter to the daemon expression that will allow the > daemon to shut itself down when it's finished processing a topic queue. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org