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

Use HttpStream.Wrapper for completion listener in JettyContainerService #79

Merged
merged 3 commits into from
Nov 9, 2023

Conversation

lachlan-roberts
Copy link
Collaborator

Use a HttpStream.Wrapper for the completion listener in JettyContainerService.

We were previously using Callback for the onCompletion event in JettyContainerService, this tries to acquire all of the Semaphore permits to wait for all API calls to complete.

However the callback is invoked before the the HttpStream, and the SessionManager uses an HttpStream.Wrapper for its doComplete which was eventually calling the DatastoreApiHelper which was event doing an ApiProxy call.

This fixes the EE10 guestbook app.

Copy link
Collaborator

@ludoch ludoch left a comment

Choose a reason for hiding this comment

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

Did you also check similar logic in prod runtime area for EE10? I guess EE8 is correct, right?

@copybara-service copybara-service bot merged commit 6e81c98 into main Nov 9, 2023
5 checks passed
@lachlan-roberts lachlan-roberts deleted the HttpStreamWrapper branch September 17, 2024 06:29
srinjoyray pushed a commit that referenced this pull request Nov 12, 2024
PiperOrigin-RevId: 580932773
Change-Id: I6741c74d7f10411cb184d97b0930797d93731929
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants