-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[Cosmos] Fix /pkranges change-feed drain loop #47245
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
tvaron3
wants to merge
23
commits into
Azure:main
Choose a base branch
from
tvaron3:users/tomasvaron/fix-pkranges-drain-loop
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
23 commits
Select commit
Hold shift + click to select a range
9fa67f6
[Cosmos] Honor max_item_count for query_items(feed_range=...)
tvaron3 2b36cc9
Suppress continuation token when feed_range page is truncated
tvaron3 3492e4d
[Cosmos] Fix /pkranges drain loop for containers with >8K PK ranges
tvaron3 6dbf1ab
Merge remote-tracking branch 'upstream/main' into users/tomasvaron/fi…
tvaron3 3a616b3
Port pkranges drain fix to sync path, add safety-bound 503, add pagin…
tvaron3 256bcd1
Cosmos: align A-IM header with peer SDKs + pagination integration tests
tvaron3 f70ed10
Cosmos: bump to 4.16.1 with pkranges hotfix; loosen timeout test bound
tvaron3 ff76a5b
Merge remote-tracking branch 'upstream/main' into users/tomasvaron/fi…
tvaron3 8930381
Cosmos: shorten 4.16.1 pkranges changelog entry
tvaron3 df1b062
Match peer SDKs: terminate /pkranges drain on literal HTTP 304
tvaron3 b555d5d
Restore defensive drain fallbacks for status-blind callers; add gap-c…
tvaron3 a54764d
Log warning when drain falls back to status-blind termination
tvaron3 a1e27a5
Remove status-blind drain fallback; tighten status_code contract
tvaron3 b541152
test(cosmos): relax pkranges drain integration assertion and add AAD …
tvaron3 b46fbec
fix(cosmos): address review feedback and wire status sidecar in split…
tvaron3 b8153ca
test(cosmos): remove gateway-incompatible drain integration tests; co…
tvaron3 f3a4b00
fix(cosmos): widen evaluate_drain_page status_code to Optional[int] t…
tvaron3 dae43f8
test(cosmos): make routing-map drain-loop unit-test mocks compatible …
tvaron3 c5b78b3
refactor(cosmos): address PR review feedback from @simorenoh
tvaron3 d428848
test: pin stale-etag cleanup contract instead of brittle call-count
tvaron3 1fc7493
chore: set 4.16.1 release date to 2026-05-31
tvaron3 a1028cc
test: rename hdrs -> request_headers to satisfy cspell
tvaron3 4220f58
Move AVG breaking change in changelog; drop brittle post-fallback dra…
tvaron3 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.
Uh oh!
There was an error while loading. Please reload this page.