You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Andrzej Bialecki (JIRA)" <ji...@apache.org> on 2018/04/19 09:49:01 UTC

[jira] [Created] (SOLR-12240) Triggers don't properly track "waitFor"

Andrzej Bialecki  created SOLR-12240:
----------------------------------------

             Summary: Triggers don't properly track "waitFor"
                 Key: SOLR-12240
                 URL: https://issues.apache.org/jira/browse/SOLR-12240
             Project: Solr
          Issue Type: Sub-task
      Security Level: Public (Default Security Level. Issues are Public)
          Components: AutoScaling
    Affects Versions: 7.3, 7.4, master (8.0)
            Reporter: Andrzej Bialecki 


Triggers determine whether to generate events by measuring if the time since the last event is greater than {{waitFor}} or not. That is not the intended purpose of {{waitFor}}. They should actually check whether the rate breaches the threshold and remains so for the {{waitFor}} time.

This is further complicated by the fact that all triggers are paused whenever an event is being processed (SOLR-11747). It seems that instead they should not be paused but continue running to properly track the cluster state - they just should not generate any events, or their events should be IGNORED.



--
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