Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
blink1073
/
mongo-python-driver
Public
forked from
mongodb/mongo-python-driver
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
6
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
PYTHON-5898 Reduce pool checkout lock overhead and stop mutating TopologyDescription during selection
- #16
#16
Draft
blink1073
wants to merge 32 commits into
main
blink1073/mongo-python-driver:main
from
PYTHON-5898-final
blink1073/mongo-python-driver:PYTHON-5898-final
Copy head branch name to clipboard
Conversation
Commits
32
(32)
Checks
Files changed
Draft
PYTHON-5898 Reduce pool checkout lock overhead and stop mutating TopologyDescription during selection
#16
blink1073
wants to merge 32 commits into
main
blink1073/mongo-python-driver:main
from
PYTHON-5898-final
blink1073/mongo-python-driver:PYTHON-5898-final
Copy head branch name to clipboard
Commits
Commits on Jul 30, 2026
PYTHON-5898 Make TopologyDescription.apply_selector() non-mutating
Show description for c02817f
blink1073
committed
c02817f
View commit details
Copy full SHA for c02817f
Browse repository at this point
PYTHON-5898 Merge pool checkout lock acquisitions on the fast path
Show description for d0e2957
blink1073
committed
d0e2957
View commit details
Copy full SHA for d0e2957
Browse repository at this point
PYTHON-5898 Add regression test for operation_count leak on checkout failure
Show description for e79d6a7
blink1073
committed
e79d6a7
View commit details
Copy full SHA for e79d6a7
Browse repository at this point
PYTHON-5898 Fix duplicate ConnectionCheckOutFailed event in _get_conn
Show description for adac148
blink1073
committed
adac148
View commit details
Copy full SHA for adac148
Browse repository at this point
PYTHON-5898 Correct stale-lock wording and add get_primary regression test
Show description for 930219f
blink1073
committed
930219f
View commit details
Copy full SHA for 930219f
Browse repository at this point
PYTHON-5898 Remove the candidate_servers property
Show description for 0bf12ae
blink1073
committed
0bf12ae
View commit details
Copy full SHA for 0bf12ae
Browse repository at this point
PYTHON-5898 Drop a test that could not fail and fix stale wording
Show description for 6aff28f
blink1073
committed
6aff28f
View commit details
Copy full SHA for 6aff28f
Browse repository at this point
PYTHON-5898 Note the candidate_servers removal in the changelog
blink1073
committed
0ea114f
View commit details
Copy full SHA for 0ea114f
Browse repository at this point
Commits on Jul 31, 2026
PYTHON-5898 Describe required behavior in comments, not prior behavior
blink1073
committed
ebb92f2
View commit details
Copy full SHA for ebb92f2
Browse repository at this point
PYTHON-5898 Drop remaining references to prior behavior in pool comments
blink1073
committed
1d36c36
View commit details
Copy full SHA for 1d36c36
Browse repository at this point
PYTHON-5898 Comment what the concurrency assertion checks
blink1073
committed
576f314
View commit details
Copy full SHA for 576f314
Browse repository at this point
PYTHON-5898 Explain the assertion's failure output
blink1073
committed
78dfe14
View commit details
Copy full SHA for 78dfe14
Browse repository at this point
PYTHON-5898 Emit checkout-failed under the pool lock and fold the slow-path counters
Show description for 59bce8f
blink1073
committed
59bce8f
View commit details
Copy full SHA for 59bce8f
Browse repository at this point
PYTHON-5898 Assert checkout-failed is emitted under the pool lock
Show description for a2943a4
blink1073
committed
a2943a4
View commit details
Copy full SHA for a2943a4
Browse repository at this point
PYTHON-5898 Point the changelog at known_servers, not server_descriptions
Show description for afe01b1
blink1073
committed
afe01b1
View commit details
Copy full SHA for afe01b1
Browse repository at this point
PYTHON-5898 Give the non-mutation requirement its real rationale
Show description for a2e7ed5
blink1073
committed
a2e7ed5
View commit details
Copy full SHA for a2e7ed5
Browse repository at this point
PYTHON-5898 Harden the immutability tests
Show description for 239c085
blink1073
committed
239c085
View commit details
Copy full SHA for 239c085
Browse repository at this point
PYTHON-5898 Track requests and active_sockets with separate flags
Show description for eb68fb9
blink1073
committed
eb68fb9
View commit details
Copy full SHA for eb68fb9
Browse repository at this point
Commits on Aug 3, 2026
PYTHON-5898 Correct operation_count leak changelog and flag candidate_servers removal as breaking
blink1073
committed
d9de328
View commit details
Copy full SHA for d9de328
Browse repository at this point
PYTHON-5898 Fix inaccurate checkout comments in pool
blink1073
committed
932632c
View commit details
Copy full SHA for 932632c
Browse repository at this point
PYTHON-5898 Drop _filter_servers(None) indirection in apply_selector
blink1073
committed
fc30cfe
View commit details
Copy full SHA for fc30cfe
Browse repository at this point
PYTHON-5898 Make the arbiter assertion load-bearing in test_topology
blink1073
committed
2042961
View commit details
Copy full SHA for 2042961
Browse repository at this point
PYTHON-5898 Cover slow-path checkout failure emission under the pool lock
blink1073
committed
c437add
View commit details
Copy full SHA for c437add
Browse repository at this point
PYTHON-5898 Pin the pool lock acquisition count on the checkout fast path
Show description for 69ca9df
blink1073
committed
69ca9df
View commit details
Copy full SHA for 69ca9df
Browse repository at this point
PYTHON-5898 Pin the pool lock acquisition count on the contended path
Show description for 0815f42
blink1073
committed
0815f42
View commit details
Copy full SHA for 0815f42
Browse repository at this point
Commits on Aug 21, 2026
Merge remote-tracking branch 'upstream/main' into PYTHON-5898-final
Show description for 44c461e
blink1073
committed
44c461e
View commit details
Copy full SHA for 44c461e
Browse repository at this point
PYTHON-5898 Tighten comments and docstrings
blink1073
committed
c89e9b9
View commit details
Copy full SHA for c89e9b9
Browse repository at this point
Commits on Sep 3, 2026
Merge remote-tracking branch 'upstream/main' into PYTHON-5898-final
blink1073
committed
408972a
View commit details
Copy full SHA for 408972a
Browse repository at this point
PYTHON-5898 Correct contended-path claim and document a cancellation delta
Show description for d6d0467
blink1073
committed
d6d0467
View commit details
Copy full SHA for d6d0467
Browse repository at this point
PYTHON-5898 Tighten test comments to one claim each
Show description for f47e017
blink1073
committed
f47e017
View commit details
Copy full SHA for f47e017
Browse repository at this point
PYTHON-5898 Standardize on "lock" over "mutex" in pool tests
Show description for cf5f273
blink1073
committed
cf5f273
View commit details
Copy full SHA for cf5f273
Browse repository at this point
PYTHON-5898 Tighten two comments in _get_conn
Show description for 977bdfe
blink1073
committed
977bdfe
View commit details
Copy full SHA for 977bdfe
Browse repository at this point
You can’t perform that action at this time.