You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2018/01/18 11:19:00 UTC

[jira] [Commented] (SOLR-11747) Pause triggers until actions finish executing and the cool down period expires

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

Shalin Shekhar Mangar commented on SOLR-11747:
----------------------------------------------

This patch changes the ScheduledTriggers to pause all triggers before actions for an event are about to be executed and resumes the triggers once the actions finish executing and the cool down period expires. Any running triggers are not interrupted but if they produce an event then the events are rejected during the cool down period. In practice, almost no IGNORED events are received by listeners so this necessitated a few changes in various tests.

> Pause triggers until actions finish executing and the cool down period expires
> ------------------------------------------------------------------------------
>
>                 Key: SOLR-11747
>                 URL: https://issues.apache.org/jira/browse/SOLR-11747
>             Project: Solr
>          Issue Type: Sub-task
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: AutoScaling, SolrCloud
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Shalin Shekhar Mangar
>            Priority: Major
>             Fix For: master (8.0), 7.3
>
>         Attachments: SOLR-11747.patch
>
>
> Currently, the cool down period is a fixed period during which events generated from triggers aren't accepted. The cool down starts after actions performed by a previous event finish. But it doesn't protect against triggers acting on intermediate cluster state during the time the actions are executing. Events can still be created and persisted to ZK and will be executed serially once the cool down finishes.
> To protect against, this I intend to modify the behaviour of the system to pause all triggers from execution between the start of actions and end of cool down period. The triggers will be resumed after the cool down period expires.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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