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

fix: JS clients must not release tickets for pending operations #6618

Merged
merged 2 commits into from
Feb 5, 2025

Conversation

niloc132
Copy link
Member

@niloc132 niloc132 commented Feb 3, 2025

When a necessary operation is still running, clients must not release upstream tickets. This has mostly worked by the server running fast enough or by the websocket transport serializing operations in a way that we can't always rely on.

Testing this is difficult to reliably do - the ticket has some manual steps that generally make it possible to see the issue, and we're exploring other options to make bugs like this more obvious. At this time, there is no good way to put an integration test in that verifies correct behavior efficiently.

Fixes #6056
Fixes DH-18486
Backport #6591
Backport #6616

…haven#6591)

When a necessary operation is still running, clients must not release
upstream tickets. This has mostly worked by the server running fast
enough or by the websocket transport serializing operations in a way
that we can't always rely on.

Testing this is difficult to reliably do - the ticket has some manual
steps that generally make it possible to see the issue, and we're
exploring other options to make bugs like this more obvious. At this
time, there is no good way to put an integration test in that verifies
correct behavior efficiently.

Fixes deephaven#6056
Fixes DH-18486
@niloc132 niloc132 added bug Something isn't working jsapi NoDocumentationNeeded ReleaseNotesNeeded Release notes are needed rollup labels Feb 3, 2025
@niloc132 niloc132 added this to the 0.37.5 milestone Feb 3, 2025
@niloc132 niloc132 requested a review from mofojed February 3, 2025 21:24
@niloc132 niloc132 changed the title fix: JS clients must not release tickets for pending operations (#6591) fix: JS clients must not release tickets for pending operations Feb 3, 2025
mofojed
mofojed previously approved these changes Feb 3, 2025
Copy link
Member

@rcaudy rcaudy left a comment

Choose a reason for hiding this comment

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

Approving, since @mofojed approved previously before the trivial spotless fix.

@rcaudy rcaudy merged commit 5f3ad89 into deephaven:rc/v0.37.x Feb 5, 2025
17 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 5, 2025
@@ -0,0 +1,18 @@
//
// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending
Copy link
Member

Choose a reason for hiding this comment

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

Nitpick: should be 2016-2025

Copy link
Member Author

Choose a reason for hiding this comment

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

Not I think in a backport, since we didnt backport the year change.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working jsapi NoDocumentationNeeded ReleaseNotesNeeded Release notes are needed rollup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants