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

ChannelSendOperator.WriteBarrier readyToWrite has race condition [SPR-16555] #21098

Closed
spring-projects-issues opened this issue Mar 6, 2018 · 3 comments
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: bug A general bug
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

Rob Winch opened SPR-16555 and commented

There is a race condition on ChannelSendOperator.WriteBarrier.readyToWrite which prevents data from being written to the response.

This happens when using publishOn. From a Spring Security standpoint this means that the data written after a user authenticates is dropped randomly.

NOTE: smaldini has agreed to send a PR for this issue.


Affects: 5.0.4

Referenced from: commits e48def2

@spring-projects-issues
Copy link
Collaborator Author

Rossen Stoyanchev commented

Rob Winch I've pushed a potential fix to try.

@spring-projects-issues
Copy link
Collaborator Author

Rob Winch commented

Thanks for pushing the fix. I've ran my test for 24 hours x 3 processes now without reproducing the issue. I'm confident that this has resolved the problem I was experiencing. Please feel free to close this issue.

@spring-projects-issues
Copy link
Collaborator Author

Rossen Stoyanchev commented

(y)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants