[GODRIVER-1826] Rate limit new connection creations (maxConnecting) Created: 10/Jan/21  Updated: 28/Oct/23  Resolved: 11/Mar/22

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.8.0

Type: Task Priority: Major - P3
Reporter: Esha Bhargava Assignee: Matt Dale
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Gantt Dependency
has to be done before GODRIVER-1993 CMAP integration test enables failpoi... Closed
has to be done before GODRIVER-1995 CMAP integration test waits for wrong... Closed
Related
related to GODRIVER-2257 Run CMAP spec integration tests in th... Backlog
is related to GODRIVER-2038 Use "ConnectionTimeout" for creating ... Closed
Epic Link: Avoiding connection storms
Quarter: FY22Q4

 Comments   
Comment by Githook User [ 11/Mar/22 ]

Author:

{'name': 'Matt Dale', 'email': '9760375+matthewdale@users.noreply.github.com', 'username': 'matthewdale'}

Message: GODRIVER-1826 Sync maxConnecting tests, support failpoints in CMAP spec tests, and fix failures. (#864)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/9101b419216336cec091fc70d1f622efa12f5ca0

Comment by Matt Dale [ 18/Dec/21 ]

PR: https://github.com/mongodb/mongo-go-driver/pull/830

Comment by Matt Dale [ 24/Nov/21 ]

There are 3 new spec tests that need to be synced from PR 857:

connection-monitoring-and-pooling/pool-checkout-maxConnecting-is-enforced.json
connection-monitoring-and-pooling/pool-checkout-maxConnecting-is-enforced.yml
connection-monitoring-and-pooling/pool-checkout-maxConnecting-timeout.json
connection-monitoring-and-pooling/pool-checkout-maxConnecting-timeout.yml
connection-monitoring-and-pooling/pool-checkout-returned-connection-maxConnecting.json
connection-monitoring-and-pooling/pool-checkout-returned-connection-maxConnecting.yml

The latest version of those tests include the event "ready", which is not implemented yet. Also, they just time out right now waiting on some event, so I'm not sure what's going on. Will investigate further.

Comment by Matt Dale [ 17/Nov/21 ]

maxConnecting is implemented with https://github.com/mongodb/mongo-go-driver/pull/716. If there are tests for maxConnecting, we still need to sync them.

Generated at Thu Feb 08 08:37:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.