[DRIVERS-1948] Add a CMAP test that verifies the background thread hands over connections to threads doing checkout Created: 13/Oct/21 Updated: 29/Apr/22 |
|
| Status: | Implementing |
| Project: | Drivers |
| Component/s: | CMAP |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Valentin Kavalenka | Assignee: | Valentin Kavalenka |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | size-small, spec-change, yaml-test | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Changes: | Needed | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Downstream Changes Summary: | Implement the CMAP specification change done in https://github.com/mongodb/specifications/pull/1078. The PR also introduced a test that verifies the implementation. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Compliance: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
SummaryWhat is the problem or use case, what are we trying to achieve? MotivationWho is the affected end user?A user of a driver. How does this affect the end user?If a driver does not behave the way the test expects, it's a performance bug that may affect driver users. How likely is it that this problem or use case will occur?Not very likely, and if there is a problem with connection checkout latencies, the behavior expected by the test is unlikely to solve the problem in full. If the problem does occur, what are the consequences and how severe are they?May cause higher checkout latencies during temporary states when a pool is not populated to its min size. Is this issue urgent?No. Is this ticket required by a downstream team?No. Is this ticket only for tests?Depends on whether a driver has the specific performance bug or not. If not, then the driver will only need to grab the new test scenario. |
| Comments |
| Comment by Githook User [ 05/Nov/21 ] |
|
Author: {'name': 'Valentin Kovalenko', 'email': 'valentin.kovalenko@mongodb.com', 'username': 'stIncMale'}Message: Add a CMAP test that verifies the background thread hands over connections to threads doing checkout (#1078) DRIVERS-1948 |