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

Stop UGP NotificationProcessor From Silently Swallowing Errors #3514

Merged
merged 3 commits into from
Mar 10, 2023

Conversation

nbauernfeind
Copy link
Member

@nbauernfeind nbauernfeind commented Mar 9, 2023

In the Array Column Access PR nightly testSerial was timing out. After isolating the issue to a specific FuzzerTest, I was able to observe unwanted behavior when running from IJ.

In particular, RefreshingTableTestCase throws an AssertionError via TestCase.fail() if a table propagates a bad update. I've added an additional check to validate APPEND_ONLY tables. This error was causing the notification processing threads to exit, eventually starving the notification queue of threads to process them. The UGP was waiting for Godot, causing CI's testSerial to be forced to exit after 6 hrs.

This did not occur in my testing because the error was not common enough to starve my executor from processing threads. The machine I was using has 8 cores, but I suspect CI is at 2.

I've come up with a fix that should catch losing notification threads in non-test scenarios, too.

This is a new issue caused by enabling multi-threaded processing by default.
Running nightlies in case there were any tests silently failing: https://github.com/nbauernfeind/deephaven-core/actions/runs/4379371283

@nbauernfeind nbauernfeind added bug Something isn't working query engine NoDocumentationNeeded release blocker A bug/behavior that puts is below the "good enough" threshold to release. ReleaseNotesNeeded Release notes are needed labels Mar 9, 2023
@nbauernfeind nbauernfeind added this to the Mar 2023 milestone Mar 9, 2023
@nbauernfeind nbauernfeind requested a review from rcaudy March 9, 2023 18:21
@nbauernfeind nbauernfeind self-assigned this Mar 9, 2023
@nbauernfeind nbauernfeind requested a review from rcaudy March 9, 2023 22:38
rcaudy
rcaudy previously approved these changes Mar 9, 2023
@rcaudy rcaudy dismissed their stale review March 9, 2023 23:49

Discussed changes

@nbauernfeind nbauernfeind requested a review from rcaudy March 9, 2023 23:59
@nbauernfeind nbauernfeind merged commit 8e04e40 into deephaven:main Mar 10, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Mar 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working NoDocumentationNeeded query engine release blocker A bug/behavior that puts is below the "good enough" threshold to release. ReleaseNotesNeeded Release notes are needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants