-
Notifications
You must be signed in to change notification settings - Fork 1.2k
PYTHON-6040 Preserve version-to-name mapping in Client Metadata #3054
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
Open
blink1073
wants to merge
24
commits into
mongodb:main
Choose a base branch
from
blink1073:PYTHON-6040
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
ac6ed46
PYTHON-6040 Preserve 1:1 index correspondence in client metadata
blink1073 5f2e74c
PYTHON-6040 Update tests for index-aligned client metadata
blink1073 b3d18d1
PYTHON-6040 Address PR review feedback
blink1073 b035cfb
PYTHON-6040 Address Copilot review feedback
blink1073 61ba3a2
PYTHON-6040 Use fork-aware lock for metadata updates
blink1073 7e863c9
PYTHON-6040 Fix truncation order and platform recreation
blink1073 d45d987
PYTHON-6040 Reverse prose test case and trim truncation comment
blink1073 0194f47
PYTHON-6040 Bound appended-driver tracking
blink1073 b652b78
PYTHON-6040 Bound dedup tracking for platform-only appends
blink1073 a016133
PYTHON-6040 Cover empty-name entries in index correspondence
blink1073 b50cb0f
PYTHON-6040 Align index-correspondence prose test to specifications
blink1073 62e83d4
PYTHON-6040 Rename prose tests with their specification titles
blink1073 7ff1773
PYTHON-6040 Extend metadata unit test coverage
blink1073 affb338
PYTHON-6040 Trim wrapper name before dropping metadata pair
blink1073 6ef9ab0
PYTHON-6040 Truncate metadata by UTF-8 bytes
blink1073 e3ead2a
PYTHON-6040 Dedup metadata across None and empty strings
blink1073 917bc0a
Update pymongo/pool_options.py
blink1073 66ce419
Update test/asynchronous/test_client_metadata.py
blink1073 e8c253c
PYTHON-6040 Address PR review feedback
blink1073 dbc559d
PYTHON-6040 Use a null context for the async metadata lock
blink1073 7ecbb94
PYTHON-6040 Close test clients with unittest cleanup
blink1073 15e62f8
PYTHON-6040 Update changelog and DriverInfo docstring per review
blink1073 7afe515
PYTHON-6040 Refactor driver metadata truncation to keep name/version …
blink1073 1d94bfb
Merge remote-tracking branch 'upstream/main' into PYTHON-6040
blink1073 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if we store pairs of
(name, version)directly in a list and then do a single join on "|" when we actually need to serialize the metadata? Then we could remove a lot of the string splitting and make our pair requirement easier to follow and maintain.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done