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

Add error handling in case of AutocompleteStub Failure for DLIS-5819 #356

Merged
merged 6 commits into from
May 9, 2024

Conversation

indrajit96
Copy link
Contributor

Tested various failures in Load/Unload API
Handling for error in LaunchAutoCompleteStubProcess() was not complete causing the HTTP request to hang, in case of faulty autocomplete function.
Attached new behaviour in the image
Screenshot 2024-05-03 at 10 29 37 AM

Followup question:

I saw similar handling in ALL other backends as well, I think a fix would be needed in all of them.

src/python_be.cc Outdated Show resolved Hide resolved
Copy link
Member

@Tabrizian Tabrizian left a comment

Choose a reason for hiding this comment

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

Is there a test case that I can learn more about the issue.

src/stub_launcher.cc Outdated Show resolved Hide resolved
Copy link
Member

@Tabrizian Tabrizian left a comment

Choose a reason for hiding this comment

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

Nice fix!

src/stub_launcher.cc Outdated Show resolved Hide resolved
@indrajit96 indrajit96 merged commit 9d2c513 into main May 9, 2024
3 checks passed
indrajit96 added a commit that referenced this pull request May 9, 2024
…356)

* DLIS-5819
* Guard WaitForStubProcess in case of failed auto-complete-config
@Tabrizian Tabrizian deleted the indrajit_DLIS-5819 branch May 9, 2024 14:52
mc-nv pushed a commit that referenced this pull request May 10, 2024
…356) (#357)

* DLIS-5819
* Guard WaitForStubProcess in case of failed auto-complete-config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants