The MongoDB Go Driver Team is pleased to release version 1.15.0 of the official Go driver.
Release Notes
This release adds a feature that can prevent "connection churn" caused by operation timeouts.
Prevent "Connection Churn" Caused by Timeouts
Previously, the Go Driver would close the in-use connection when an operation timed out. However, closing the in-use connection can cause significant additional application and database load if many timeouts happen quickly, potentially causing "connection churn" that can exacerbate latency issues. The Go Driver now offers a new feature that waits (for a maximum of 1 second) for the connection to be reusable after an operation times out instead of closing it.
To enable the new feature, set a Client-wide timeout by using SetTimeout or by specifing the timeoutMS connection string option. Use SetTimeout(0) or timeoutMS=0 to enable the new feature without adding new timeouts. See SetTimeout for more information about the Client-wide timeout configuration.
For a full list of tickets included in this release, please see the links below:
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the other-dependencies group with 1 update: go.mongodb.org/mongo-driver.
Updates
go.mongodb.org/mongo-driver
from 1.14.0 to 1.15.0Release notes
Sourced from go.mongodb.org/mongo-driver's releases.
Commits
7a495f2
Update version to v1.15.064d6ed0
Fix version to prepare for the v1.15.0 release. (#1604)86cb647
GODRIVER-3145 Don't retry on context timeout or cancellation. (#1598)e9a633c
GODRIVER-3137 Skip failing transaction tests (#1599)b605d09
GODRIVER-3172 Read response in the background after an op timeout. (#1589)722a2f2
GODRIVER-3123 Skip test until QE Range Protocol V2 is Implemented (#1600)94dfdff
GODRIVER-2910 Add durations to connection pool events. (#1590)b693b75
GODRIVER-3161 Resync the fle2v2-Range-* tests and skip prose test 22 (#1591)d41a7cc
Fix typo within WriteConcern docs (#1579)d90de95
GODRIVER-3158 Invoke all Drivers Evergreen Tools Scripts with Bash (#1580)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show