-
Notifications
You must be signed in to change notification settings - Fork 307
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
chore(router): provide more debug info when detecting an illegal job sequence #3787
Conversation
9ea60b5
to
d944202
Compare
9214645
to
dd6143e
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #3787 +/- ##
==========================================
+ Coverage 69.04% 69.09% +0.05%
==========================================
Files 347 347
Lines 51692 51734 +42
==========================================
+ Hits 35691 35746 +55
+ Misses 13709 13688 -21
- Partials 2292 2300 +8
☔ View full report in Codecov by Sentry. |
a907083
to
01ef697
Compare
01ef697
to
9fe5ecb
Compare
defer func() { | ||
if r := recover(); r != nil { | ||
res = fmt.Sprintf("panic in EventOrderDebugInfo: %v", r) | ||
} | ||
}() |
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.
Is this going to catch the panic
and not propagate it anymore? So the next time we got an out of order rudder-server won't crash? I thought you would save the data and re-issue the panic
.
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.
My bad, this is for the local panic
.
…sequence (#3787) Adding information about sequence of job statuses recorded in database to help debug job sequence issues.
…sequence (#3787) Adding information about sequence of job statuses recorded in database to help debug job sequence issues.
* chore(router): provide more debug info when detecting an illegal job sequence (#3787) Adding information about sequence of job statuses recorded in database to help debug job sequence issues. * chore: some more changes * chore: fix test * chore: fix test * chore: fix test * chore: some more changes * chore: tests fix --------- Co-authored-by: Aris Tzoumas <atzoumas@rudderstack.com>
Description
Adding information about sequence of job statuses recorded in database to help debug job sequence issues.
Linear Ticket
Link
Security