Scheduled Query Analytics not reflecting changes to the Analytic doc
Closed this issue · 1 comments
stroomdev10 commented
I made changes to the query that underpins a Rule, but the changes weren't reflected in subsequent executions of the Rule.
at055612 commented
stroom.analytics.impl.ScheduledQueryAnalyticExecutor#exec
runs every 10min (or whatever it is configured as). When it runs it finds all the rules with type Scheduled Query. It then processes each rule in turn until all are done. If say you have 2 rules A & B and A is taking ages, meanwhile you change B before A has finished, then when B finally runs it will run the pre-change version of B.
It needs to re-fetch the rule on processing and re-check that the rule is the right type and enabled.