Skip to content

Conversation

blink1073
Copy link
Member

@blink1073 blink1073 commented Sep 4, 2024

Copy link
Member

@ShaneHarvey ShaneHarvey left a comment

Choose a reason for hiding this comment

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

Great improvements but we still need to fix the bug where ClientBulkWriteException contains a raw TimeoutError. That should never be possible even if the event loop policy is incompatible. We should be catching TimeoutError and raising pymongo's NetworkTimeout.

ShaneHarvey
ShaneHarvey previously approved these changes Sep 5, 2024
@blink1073
Copy link
Member Author

Great improvements but we still need to fix the bug where ClientBulkWriteException contains a raw TimeoutError. That should never be possible even if the event loop policy is incompatible. We should be catching TimeoutError and raising pymongo's NetworkTimeout.

I opened PYTHON-4740 to track that question separately.

@blink1073 blink1073 merged commit 22b66b2 into mongodb:master Sep 6, 2024
32 of 34 checks passed
@blink1073 blink1073 deleted the PYTHON-4695 branch September 6, 2024 17:17
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.

2 participants