[JAVA-4510] PowerOfTwoBufferPool leaks permits when compression is enabled Created: 01/Mar/22 Updated: 28/Oct/23 Resolved: 03/Mar/22 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Internal |
| Affects Version/s: | 3.12.10, 4.5.0 |
| Fix Version/s: | 4.5.1, 3.12.11 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Konstantin Labun | Assignee: | Valentin Kavalenka |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | external-user | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Documentation Changes: | Not Needed | ||||
| Description |
| Comments |
| Comment by Jeffrey Yemin [ 23/Mar/22 ] |
|
FYI, 4.5.1 has been released with a fix for this issue. |
| Comment by Githook User [ 03/Mar/22 ] |
|
Author: {'name': 'Konstantin Labun', 'email': 'kulabun@users.noreply.github.com', 'username': 'kulabun'}Message: ByteBuffer is not released when compression is enabled, causing pool leakage (#883) Co-authored-by: Konstantin Labun <konstantinlabun@Konstantins-Air.Home> |
| Comment by Githook User [ 03/Mar/22 ] |
|
Author: {'name': 'Konstantin Labun', 'email': 'kulabun@users.noreply.github.com', 'username': 'kulabun'}Message: ByteBuffer is not released when compression is enabled, causing pool leakage (#883) Co-authored-by: Konstantin Labun <konstantinlabun@Konstantins-Air.Home> |
| Comment by Githook User [ 03/Mar/22 ] |
|
Author: {'name': 'Konstantin Labun', 'email': 'kulabun@users.noreply.github.com', 'username': 'kulabun'}Message: ByteBuffer is not released when compression is enabled, causing pool leakage (#883) Co-authored-by: Konstantin Labun <konstantinlabun@Konstantins-Air.Home> |
| Comment by Jeffrey Yemin [ 02/Mar/22 ] |
|
This is a great find, and surprising that no one has run into this before. Thanks also for the PR. It looks good at first glance and we'll try to get it merged and released in 4.5.1 ASAP. |
| Comment by Konstantin Labun [ 02/Mar/22 ] |
|
Please check the merge request https://github.com/mongodb/mongo-java-driver/pull/883 |