Skip to content

Conversation

@garyrussell
Copy link
Contributor

Resolves #3620

Shared session field was captured outside of the lock, causing multiple sessions
in a multi-threaded environment.

cherry-pick to 5.4.x, 5.3.x

Resolves spring-projects#3620

Shared session field was captured outside of the lock, causing multiple sessions
in a multi-threaded environment.

**cherry-pick to 5.4.x, 5.3.x**
Copy link
Member

@artembilan artembilan left a comment

Choose a reason for hiding this comment

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

Good catch!
And I believe this is a reason for sporadic failures in some our SFTP tests on CI.

Thank you for the fix!

@artembilan artembilan merged commit 55876e0 into spring-projects:main Aug 30, 2021
@artembilan
Copy link
Member

... and cherry-picked to 5.4.x & 5.3.x.

Note: 5.2.x is EOL at this point.

@garyrussell garyrussell deleted the GH-3620 branch September 7, 2021 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Failed to obtain pooled item" when concurrent file uploadings on cached shared session factory with unlimited poolsize

2 participants