summaryrefslogtreecommitdiff
path: root/src/mongo/executor/connection_pool.cpp
AgeCommit message (Collapse)Author
2024-09-13SERVER-92568 add cancellation to ConnectionPool::get (#25235) (#27019)James Bronsted
GitOrigin-RevId: 9dc63bfd3510ba2d03e192170184e5fc0b686f52
2024-08-20SERVER-92134 Fix crashes during NetworkInterfaceTL shutdown (#26201)Patrick Freed
GitOrigin-RevId: d0b8b79bd4caaef947af209772421d9625886d7a
2024-08-14Revert "SERVER-92134 Fix crashes in NetworkInterfaceTL shutdown" (#26116)Patrick Freed
GitOrigin-RevId: ee81d54bb420c92c7e1317376c64280b78adae8b
2024-08-13SERVER-92134 Fix crashes in NetworkInterfaceTL shutdown (#25538)Patrick Freed
GitOrigin-RevId: e8b8d567eb42153b6e1941af57549aa20154aa22
2024-04-29SERVER-89315 Minimize raw pointer usage in tryGetConnection() (#21555)Ronald Steinke
GitOrigin-RevId: 785a0be33b214bd818490fd277e12d80cbdb44df
2024-02-09SERVER-72055 NetworkInterfaceTL returns a retryable error when waiting to ↵Alex Li
acquire a connection (#16713) GitOrigin-RevId: 694f587aef997a288619ceff96fb2fdb1e5cd26a
2023-10-04SERVER-81602 remove fmtMessage from LOGV2 statementsBilly Donahue
SERVER-80602 codebase-wide changes remove selection test apply clang-format remove mistake files remove format message remove blank line artifacts apply clang-format remove blanks SERVER-81602 logging.md update manual fixup windows fix windows fix mac fix mac fix add note to logging.md about legacy fmt strings
2023-09-23SERVER-81059 bulk-revert of include of boost iif.hppBilly Donahue
2023-09-07SERVER-80193 Replace Session Tag dependencies with boolean for ↵Alex Li
EgressTagCloser, rename EgressTagCloser to ConnectionCloser
2023-08-14SERVER-78148 Associate SocketException with offending HostAndPortAlex Li
2023-07-01SERVER-77049 SERVER-77050 IWYU automated changes up to 1.0Daniel Moody
2023-06-13SERVER-77195 Make executor::ConnectionPool close current generation ↵George Wangensteen
connections to a remote when a connection to that remote is returned with a network error
2023-06-05SERVER-65383 Remove CCHM Feature FlagBlake Oler
2023-05-16SERVER-69206 Remove use-after-move on ConnectionPool::Options in ↵George Wangensteen
ConnectionPool constructor.
2023-04-05SERVER-66587 rename isEnabledAndIgnoreFCV to isEnabledAndIgnoreFCVUnsafeJiawei Yang
2023-03-15SERVER-73610 Introduce Connection-Leasing from ConnectionPool and ↵George Wangensteen
NetworkInterface
2023-02-17SERVER-73953 Use fast clock and relaxed atomics for egress connection usage ↵Vojislav Stojkovic
metrics
2022-10-06SERVER-67888 Add metrics to FTDC for connection reuseReo Kimura
2022-09-27SERVER-68329 Drop single connection on some errors during connection set upAlex Li
2022-06-27SERVER-43155 Queries which exceed `maxTimeMS` may return ↵Varun Ravichandran
`NetworkInterfaceExceededTimeLimit` After careful evaluation and research the service-arch team settled into adding a new argument into connection pool's interface allowing their users to specify a custom timeout status in case the pool fails to deliver a connection within a specified time. This timeout status now competes with `NetworkInterfaceExceededTimeLimit` which is now returned either when the Connection Pool Controller is rather used to compute the timeout or when no custom timeout status code is specified. This commit also: - Refactors portions of `ConnectionPoolTest` to reflect changes in the API. - Adds `jstests/sharding/max_time_ms_connection_pool.js` integration test to ensure different timeouts return different statuses. - Fixes small glitch in `jstests/core/tnxs/many_txns.js` where `NetworkInterfaceExceededTimeLimit` might be validly returned under rare resource intense conditions and fail the test, reported as BF-20554.
2022-05-28SERVER-63261 Add metrics for wait time for requests to acquire egress ↵Vojislav Stojkovic
connections
2022-05-24SERVER-64966 Count how many pooled connections are created, but never usedReo Kimura
2022-05-06SERVER-66203 move MONGO_LOGV2_DEFAULT_COMPONENT defs below includesBilly Donahue
2022-01-14SERVER-55816: Clamp negative timeouts in connection pools' connectionsTyler Seip
2022-01-13SERVER-55055 Add cumulative metric for the total refreshed connectionsDaniel Vitor Morilha
2022-01-10Revert "SERVER-55055 Add cumulative metric for the total refreshed connections"Daniel Vitor Morilha
This reverts commit 4ae8b3f29485b8a25877b8fd7e67787e9b3996de.
2022-01-06SERVER-55055 Add cumulative metric for the total refreshed connectionsDaniel Vitor Morilha
2021-09-24Revert "SERVER-55816: Clamp negative timeouts in connection pools' connections"sergey.galtsev
This reverts commit ed2e91304a83771f20e3df874222984c61a3e884.
2021-09-21SERVER-55816: Clamp negative timeouts in connection pools' connectionsTyler Seip
2021-08-12SERVER-51695 Use NetworkInterfaceTL name as application nameAlex Li
2021-06-04SERVER-57267 Fix invalid iterator use in ConnectionPool::dropConnectionsGeorge Wangensteen
2021-01-27SERVER-53394 Make ShardingTaskExecutorPoolReplicaSetMatching default to ↵George Wangensteen
disabled for mongod
2020-11-20SERVER-52710: wire up transient SSL parameters up to the NetworkInterfaceAndrew Shuvalov
2020-11-05SERVER-51811: No-op wiring of transient SSL params in related methodsAndrew Shuvalov
2020-06-24SERVER-48159 Reduce the inline cost of isConnected()Amirsaman Memaripour
2020-06-17SERVER-48511 Improve ConnectionPool error messagesAmirsaman Memaripour
2020-05-18SERVER-46932 supress more logging in the shellGabriel Russell
2020-04-26SERVER-47735 change mongo source over to logv2Billy Donahue
- Remove several legacy logger/ files - Convert all MONGO_LOG_DEFAULT_COMPONENT to the LOGV2 version. - Globally replace logger::{LogSeverity,LogComponent} => logv2::
2020-04-25SERVER-47736 logger::LogSeverityLimiter -> logv2::KeyedSeveritySuppressorBilly Donahue
- boost::multi_index to fix unbounded map growth w/some keys Evict expired suppressions - Provide an unkeyed nontemplate version `SeveritySuppressor`
2020-04-22SERVER-47073 Clean up log lines in mongo/client and mongo/executorBen Caimano
2020-04-15SERVER-47578 Delete util/log.h and remove use of logv1 to logv2 appenderHenrik Edin
2020-03-24SERVER-47040 LOGV2_FATAL also fassertsHenrik Edin
Added LOGV2_FATAL_NOTRACE and LOGV2_CONTINUE to have different behavior.
2020-03-12Revert "SERVER-46512 do not use baton to run hedge requests"Misha Tyulenev
This reverts commit 729b70ce06625ed73b023a6a41a1e4d1a7e58363.
2020-03-12SERVER-46512 do not use baton to run hedge requestsMisha Tyulenev
2020-02-28SERVER-42930 Pools for hosts can outlive their groupsBen Caimano
Previously, SpecificPools always were shutdown if their Controller told them they _could_ shutdown. This commit changes the logic to allow SpecificPools to reject their Controller's suggestions if the SpecificPool no longer thinks it is "expired".
2020-02-27SERVER-46121 Make separate Controllers with taskExecutorPoolSize > 1Ben Caimano
This commit also introduces a new variant to verify that taskExecutorPoolSize=4 works correctly.
2020-02-13SERVER-45869 automatically converted structured loggingGabriel Russell
2019-12-09SERVER-44155 Validate a subset of latches of all levelsRahul Sundararaman
2019-09-23Revert "SERVER-42930 ConnectionPool controller updates must batch across hosts"Pavithra Vetriselvan
This reverts commit 872a46afa66260b8ea59772aa20acb374939eef5.
2019-09-19SERVER-42930 ConnectionPool controller updates must batch across hostsBen Caimano