Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Periodically create partitions for alert executions #398
Periodically create partitions for alert executions #398
Changes from 24 commits
abbbe67
d2ce1d3
e2d8ea5
9275fa9
f118544
b1fc6db
f0ab80a
dd711da
929aa31
2b14dff
2b097fe
f015f2d
6f180c5
fd09528
85ebe05
ac21546
ed68e90
e09c1d5
e398c9e
cd9b68f
5c837de
ed117e2
07e8921
9ab2d01
1919870
7167b29
2cb6e0b
d6a5afb
5ee82ea
395bc09
a7ff3f6
4ca92f2
b18deac
466bc04
aa6d0b4
96be3c9
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a top level message handler. Throwing the exception here will just result in an uncaught message handler exception in Akka. Seems like we could do better handling, logging and instrumenting this failure. Thoughts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not the top-level handler - the actual handler is the
execute
overload with no parameters. This has the actual DB logic but the other code adds logging/metrics.It is the case though that the wrapper code will not handle this illegal state exception which would still cause the problem you're mentioning albeit for different reasons so I could probably handle that.