[Internal] HPK: Fixes EPK Normalization problem of Hierarchical Partition Keys by consuming new Range Comparators #5260
Merged
kirankumarkolli merged 2 commits intomasterfrom Nov 13, 2025
Conversation
23e7941 to
5e9a182
Compare
62a4fbf to
d6e365e
Compare
3e8b26a to
0e936cd
Compare
Member
|
Few more to follow-up
|
4242f52 to
57d0137
Compare
This was referenced Feb 5, 2026
[nuget] Bump Microsoft.Azure.Cosmos from 3.52.0 to 3.57.0
felipementel/DEPLOY.CosmosDBForNoSQL-v1#11
Open
This was referenced Feb 13, 2026
This was referenced Feb 23, 2026
Closed
This was referenced Mar 2, 2026
This was referenced Mar 23, 2026
This was referenced Apr 7, 2026
This was referenced Apr 20, 2026
Closed
Open
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fix EPK normalization for HPK containers and introduce length-aware range comparators
Design reference: Method 3 Smart Range Comparer
from https://microsoft-my.sharepoint.com/:w:/p/amudumba/EbtYRzMDKHZPkqV_Q4VVTqgBVjIhgnSG8X_CGbqu21W_bQ?e=KJwxwy
Pull Request Template
Description
Safety:
Testing:
Partial and full partition key values.
Two- and three-level partition key hierarchies.
Backend range configurations including hybrid and fully-specified EPKs.
Impact:
Reduced operational complexity by not requiring changes to how EPKs are stored.
Backward compatibility for clients, ensuring a seamless experience for both new and legacy clients.
Minimal disruption during rollout, used a feature flag for emergency rollback.
Type of change
Please delete options that are not relevant.
Closing issues
To automatically close an issue: closes #IssueNumber