Commit 5fbf70d
Leverage
* Adding `x-ms-cosmos-hub-region-processing-only` header.
* Adding `x-ms-cosmos-hub-region-processing-only` header.
* Ensuring account-level region cycle through when `x-ms-cosmos-hub-region-processing-only` header is set.
* Forcing hub region processing flow to loop through all available read regions for new hub.
* Forcing hub region processing flow to loop through all available read regions for new hub.
* Revert unnecessary changes.
* Fixing compilation errors.
* Fixing compilation errors.
* Stabilizing CI pipeline.
* Enforce partition-set hub tracking when reads hit 403:3s.
* Add tests for readMany, readAll, query and change feed.
* Add tests for readMany, readAll, query and change feed.
* Add tests for readMany, readAll, query and change feed.
* Fixing a query plan caching test.
* Add hub region processing only request header to CosmosDiagnostics.
* Attempt to make PPAF/PPCB info visible in CosmosDiagnostics.
* Attempt to make PPAF/PPCB info visible in CosmosDiagnostics.
* Attempt to make PPAF/PPCB info visible in CosmosDiagnostics.
* Revert LocationCache changes.
* Modify cross region retry protocol for 404:1002 in Single-Writer accounts.
* Fixing tests.
* Replace hardcoded timeouts with policy-derived values in PPAF E2E latency config (#29)
* Initial plan
* Fix hardcoded timeout values in RxDocumentClientImpl
Co-authored-by: jeet1995 <16476407+jeet1995@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jeet1995 <16476407+jeet1995@users.noreply.github.com>
* Fix system property cleanup in HubRegionProcessingOnlyTests to prevent test pollution (#30)
* Initial plan
* Clear system property in @afterclass to prevent test pollution
Co-authored-by: jeet1995 <16476407+jeet1995@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jeet1995 <16476407+jeet1995@users.noreply.github.com>
* Fix hot-path allocations in DocumentServiceRequestContext getter methods (#32)
* Initial plan
* Fix per-request allocations in getPerPartitionCircuitBreakerInfoHolder and getPerPartitionFailoverContextHolder
Co-authored-by: jeet1995 <16476407+jeet1995@users.noreply.github.com>
* Use static EMPTY singletons instead of null returns
Co-authored-by: jeet1995 <16476407+jeet1995@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jeet1995 <16476407+jeet1995@users.noreply.github.com>
* Fixing tests.
* Addressing review comments.
* Addressing review comments.
* Addressing review comments.
---------
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jeet1995 <16476407+jeet1995@users.noreply.github.com>x-ms-cosmos-hub-region-processing-only for 404 Read Session Not Available cross-region retry scenarios. (#47631)1 parent 09422d5 commit 5fbf70d
File tree
25 files changed
+1263
-215
lines changed- sdk/cosmos
- azure-cosmos-tests/src/test/java/com/azure/cosmos
- implementation
- routing
- rx
- azure-cosmos
- src/main/java/com/azure/cosmos/implementation
- directconnectivity/rntbd
- perPartitionAutomaticFailover
- perPartitionCircuitBreaker
- routing
25 files changed
+1263
-215
lines changedLines changed: 11 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
21 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | | - | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
| 365 | + | |
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
369 | | - | |
| 369 | + | |
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
| |||
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
424 | | - | |
425 | | - | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
426 | 428 | | |
427 | 429 | | |
428 | 430 | | |
| |||
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
1056 | 1058 | | |
1057 | 1059 | | |
1058 | 1060 | | |
1059 | | - | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
1060 | 1065 | | |
1061 | 1066 | | |
1062 | 1067 | | |
| |||
0 commit comments