Skip to content

PYTHON-5212 [v4.12] Do not hold Topology lock while resetting pool #2307

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 24, 2025

Conversation

blink1073
Copy link
Member

(cherry picked from commit 09897b6)

@blink1073 blink1073 requested a review from ShaneHarvey April 23, 2025 21:47
could cause public ``pymongo.MongoClient`` and ``pymongo.AsyncMongoClient`` attributes (topology_description,
nodes, address, primary, secondaries, arbiters) to incorrectly return a Database, leading to type
errors such as: "NotImplementedError: Database objects do not implement truth value testing or bool()".
- Removed Eventlet testing against Python versions newer than 3.9 since
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did we backport this change?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We did not, removed.

@blink1073 blink1073 requested a review from ShaneHarvey April 23, 2025 23:30
@blink1073 blink1073 merged commit 38bc13d into mongodb:v4.12 Apr 24, 2025
67 of 79 checks passed
@blink1073 blink1073 deleted the PYTHON-5212-v4.12 branch April 24, 2025 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants