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

Poll rules immediately after change #1661

Merged
merged 1 commit into from
Aug 25, 2015
Merged

Poll rules immediately after change #1661

merged 1 commit into from
Aug 25, 2015

Conversation

pjain1
Copy link
Member

@pjain1 pjain1 commented Aug 24, 2015

Users get confused when they don't see the updated rules they just submitted on coordinator console and try to apply it multiple times.

@@ -377,7 +376,7 @@ public Void inTransaction(Handle handle, TransactionStatus transactionStatus) th
return false;
}
}

poll();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May throw exception if DB connection is disrupted. The repeating runnable in start() handles such a case.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, handling exception the same way as Runnable in start()

@fjy
Copy link
Contributor

fjy commented Aug 25, 2015

👍 I'm happy this finally got fixed :D

xvrl added a commit that referenced this pull request Aug 25, 2015
Poll rules immediately after change
@xvrl xvrl merged commit c325b19 into apache:master Aug 25, 2015
@pjain1 pjain1 deleted the poll_rules branch August 27, 2015 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants