DRIVERS-3218 Avoid clearing the connection pool when the server connection rate limiter triggers#1855
Conversation
…ction rate limiter triggers
There was a problem hiding this comment.
While we are discouraged from changing existing tests, these test still pass without the backpressure changes, and this avoids adding a new runOnRequirement.
source/connection-monitoring-and-pooling/connection-monitoring-and-pooling.md
Outdated
Show resolved
Hide resolved
source/server-discovery-and-monitoring/server-discovery-and-monitoring.md
Show resolved
Hide resolved
source/server-discovery-and-monitoring/tests/unified/backpressure-network-error-fail.yml
Show resolved
Hide resolved
baileympearson
left a comment
There was a problem hiding this comment.
One minor comment.
Second implementation in Node is passing: https://spruce.mongodb.com/version/691f7e221be6180007ecf081/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC
source/connection-monitoring-and-pooling/connection-monitoring-and-pooling.md
Show resolved
Hide resolved
source/connection-monitoring-and-pooling/connection-monitoring-and-pooling.md
Outdated
Show resolved
Hide resolved
| many clients start at once. A client's subsequent scans of the mongoses are always in the same order, since their | ||
| lastUpdateTimes are always in the same order by the time a scan ends. | ||
|
|
||
| ##### Handling of backpressure labels |
There was a problem hiding this comment.
@kevinAlbs We added this section specifically for the C Driver. Does this make sense?
There was a problem hiding this comment.
Suggest removing this Note:. This is in the "Monitor thread" section. The C driver single-threaded client does not implement the "Streaming Protocol" (only polling). I think the new "Handling of backpressure labels" is enough.
There was a problem hiding this comment.
I've pinged you for one more approval for this change
kevinAlbs
left a comment
There was a problem hiding this comment.
Additions to server-monitoring.md LGTM with a typo fix.
Co-authored-by: Kevin Albertson <kevin.eric.albertson@gmail.com>
Replaces #1852
Please complete the following before merging:
clusters).