-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Integrate Stored Procedure and Query Plan request routing to Gateway V2 endpoint #47759
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
jeet1995
merged 91 commits into
Azure:main
from
jeet1995:AzCosmos_GatewayV2_QueryPlanSupport
Jul 9, 2026
+1,438
−444
Merged
Changes from 10 commits
Commits
Show all changes
91 commits
Select commit
Hold shift + click to select a range
4a83556
Route Execute Stored Procedure requests to Thin Proxy endpoint.
jeet1995 325ff0a
Route Execute Stored Procedure and QueryPlan requests to Thin Proxy e…
jeet1995 eb9a83e
Ensure QueryPlan gets routed to Gateway Service Endpoint (in non-TC +…
jeet1995 1492b36
Ensure QueryPlan gets routed to Gateway Service Endpoint (in non-TC +…
jeet1995 2c8a5f3
Ensure QueryPlan gets routed to Gateway Service Endpoint (in non-TC +…
jeet1995 1e14a7b
Obtain List<Range<String>> from List<PartitionKeyInternal>.
jeet1995 91116c9
Obtain List<Range<String>> from List<PartitionKeyInternal>.
jeet1995 688a5ac
Adding query + thin-client tests.
jeet1995 8ae321f
Fixing tests.
jeet1995 e76c84c
Fixing tests.
jeet1995 7f3bad8
Fixing tests.
jeet1995 7600598
Addressing review comments.
jeet1995 281bc88
Addressing review comments.
jeet1995 1d171f5
Refactor thin-client E2E tests based on operation type.
jeet1995 9f1b4ee
Refactor thin-client E2E tests based on operation type.
jeet1995 cfe720b
Refactor thin-client E2E tests based on operation type.
jeet1995 8f1615b
Refactor thin-client E2E tests based on operation type.
jeet1995 b037a1d
Refactor thin-client E2E tests based on operation type.
jeet1995 8e28d82
Refactor thin-client E2E tests based on operation type.
jeet1995 2be1433
Refactor thin-client E2E tests based on operation type.
jeet1995 4b44cd5
Refactor thin-client E2E tests based on operation type.
jeet1995 afa9811
Merge branch 'Azure:main' into AzCosmos_GatewayV2_QueryPlanSupport
jeet1995 b07b104
Refactor thin-client E2E tests based on operation type.
jeet1995 22db578
Merge remote-tracking branch 'azure/main' into AzCosmos_GatewayV2_Que…
jeet1995 a991123
Add SupportedQueryFeatures and QueryVersion RNTBD request headers for…
jeet1995 7ab7ffa
Add change feed tests for FeedRange.forFullRange and forLogicalPartition
jeet1995 f9b2874
Add thin client E2E test matrix documentation for QueryPlan review
jeet1995 06b1a8c
Add SupportedQueryFeatures and QueryVersion RNTBD request headers for…
jeet1995 d006c72
Fix testGetCurrentDateTime flaky assertion, add AAD auth support, RNT…
jeet1995 01b54ec
Refactor thin client query tests for reliability
jeet1995 37c0d9d
Fix container leaks and Direct TCP AAD auth in tests
jeet1995 d65e174
Use bulkDelete in AfterClass for seeded docs cleanup
jeet1995 c7c31c4
Address PR review feedback
jeet1995 9372597
Align vector/FTS/hybrid tests with existing patterns
jeet1995 8fb7e24
Address review agent comments + fix broken link
jeet1995 01feecf
Address review agent comments (round 2)
jeet1995 a3cded4
Refactor queryRanges deserialization — detect format from response, n…
jeet1995 2422cbc
Use agnostic QueryRangesFormat hint instead of PartitionKeyDefinition…
jeet1995 10549fc
Merge remote-tracking branch 'azure/main' into AzCosmos_GatewayV2_Que…
jeet1995 2d7db15
Merge remote-tracking branch 'upstream/main' into AzCosmos_GatewayV2_…
jeet1995 86683a8
Fix fetchQueryPlanForValidation caller after merge
jeet1995 e27bf3f
Make PartitionedQueryExecutionInfo(ObjectNode, RequestTimeline) ctor …
jeet1995 60c1dab
[Cosmos] Default thin-client to enabled and add HTTP/2 connectivity-p…
jeet1995 91bf62a
Merge upstream/main into jeet1995/thin-client-probe-flow
jeet1995 d2ec2f8
Address PR #49437 review comments: probe single-flight, body-drain li…
jeet1995 3f1b1be
Address PR #49437 second-batch review feedback
jeet1995 66fca70
Clarify CHANGELOG: probe recovery threshold is now configurable
jeet1995 8a602fb
Address PR #49437 review (rounds 4-8): reactor-chain probe, FQN clean…
jeet1995 4a31ea0
Fix CI test fallout from default ThinClient enablement
jeet1995 ccc7c39
Disable thin-client probe in Http2PingKeepaliveTest
jeet1995 ad9e3df
Disable thin-client probe by default for E2E tests in TestSuiteBase
jeet1995 e381f3a
Revert "Disable thin-client probe by default for E2E tests in TestSui…
jeet1995 da6c698
Add per-class thinclient probe disable in CosmosNotFoundTests and Per…
jeet1995 5473c00
Merge remote-tracking branch 'origin/jeet1995/thin-client-probe-flow'…
jeet1995 edfff97
Add unit tests for QueryPlan and stored-procedure thin-client routing
jeet1995 9d74638
Remove endpoint-probe content from QueryPlan PR branch
jeet1995 df1ed37
Merge upstream/main into AzCosmos_GatewayV2_QueryPlanSupport
jeet1995 f881c0d
Propagate hybrid query diagnostics
jeet1995 156aaa3
Advertise CountIf query feature
jeet1995 610003e
Address query plan review feedback
jeet1995 ffe50dc
Share thin client test property setup
jeet1995 1f1c7d3
Clean up query range conversion state
jeet1995 e95e65d
Thread DocumentCollection into readMany query-plan validation
jeet1995 7148ca3
Cover ReadManyByPartitionKey QueryPlan bifurcation with unit + E2E tests
jeet1995 c267df6
Skip RNTBD QueryPlan frames when capturing V2 feed requests
a4185e5
Fix thin-client QueryPlan error returning statusCode 0 instead of 400
jeet1995 65b23d9
Harden ThinClientQueryE2ETest assertions (F1-F5)
jeet1995 5b11c3b
Replace thin-client test matrix with reverse-engineered E2E test spec
jeet1995 5541846
Apply Aditya Sarpotdar review feedback to thin-client E2E tests
jeet1995 7eb5822
Merge remote-tracking branch 'upstream/main' into AzCosmos_GatewayV2_…
jeet1995 f554ef2
Address review feedback: opt-in thin-client QueryPlan routing + kill-…
jeet1995 273b31c
Address review feedback: broaden gateway error fallback to ClassCastE…
jeet1995 4aefb59
Make thin-client QueryPlan no-EPK-headers contract explicit in wrapIn…
jeet1995 a4b844d
Fix missing StandardCharsets import in RxGatewayStoreModelTest
jeet1995 87ab2c0
Test: add QueryOracle-derived LIKE/scalar-expression thin-client pari…
jeet1995 d16ab54
Test: verify a cached proxy-generated query plan still executes corre…
jeet1995 19204b3
Test: cross-partition tests use a dedicated multi-physical-partition …
jeet1995 48b0a45
Add CHANGELOG entry for QueryPlan request routing to Gateway V2
jeet1995 5bb942c
Call out Execute Stored Procedure support in CHANGELOG entry
jeet1995 a70c9f8
Fix flaky region/timing-sensitive fault-injection E2E tests
jeet1995 f12b34c
Remove test AAD auth toggle; move thin-client test matrix to docs/ an…
jeet1995 427ae9d
Merge commit 'ccb0163cad4' into AzCosmos_GatewayV2_QueryPlanSupport
jeet1995 94dc07f
Add cross-partition aggregate / GROUP BY parity tests for thin-client…
jeet1995 26e4235
Fix thin-client MULTI_HASH prefix EPK over-span; add QueryPlan parity…
jeet1995 dc02999
Merge upstream/main into AzCosmos_GatewayV2_QueryPlanSupport
jeet1995 694dc71
Enforce QueryPlan thin-client routing invariant and harden container-…
jeet1995 bf30911
Add kill-switch flip validation for QueryPlan thin-client routing
jeet1995 e578d4b
Merge remote-tracking branch 'upstream/main' into AzCosmos_GatewayV2_…
jeet1995 3637b39
Restore ambient COSMOS.THINCLIENT_ENABLED in ThinClientTestBase teardown
jeet1995 565c608
Remove redundant COSMOS.THINCLIENT_ENABLED mutation from ThinClientTe…
jeet1995 cbbdce7
Merge branch 'main' into AzCosmos_GatewayV2_QueryPlanSupport
jeet1995 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
1,033 changes: 862 additions & 171 deletions
1,033
...s/azure-cosmos-tests/src/test/java/com/azure/cosmos/implementation/ThinClientE2ETest.java
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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.
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.