Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiinstance business rule with windows.cron not working properly #125

Closed
jorgesanmartin opened this issue Jun 8, 2020 · 0 comments
Closed
Labels

Comments

@jorgesanmartin
Copy link

jorgesanmartin commented Jun 8, 2020

We have two instances of the same business rule. The siddhi-app of one instance contains the following fragment

define trigger AfterDeleteNoiseAlarmsStatusTablesb25ux5y52uzs9nebsurf6r at '0 01 23 * * ?';
from AfterDeleteNoiseAlarmsStatusTablesb25ux5y52uzs9nebsurf6r full outer join NoiseAlarmsStatusTable#window.cron('* * * * * ?')
insert into LogNoiseAlarmsStatusAfter;

When we deploy two or several instances of the business rule, only the last deployed instance is the one working fine, the rest of the instances are stuck. However, once the last deployed instance is undeployed, the previous instance continues the workflow and executes the pending events.
It seems that both instances are sharing the same cron but only one is executed.

We also tested the same business rule in stream processor v 4.3 and it is working fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants