-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[Cosmos] Share PartitionKeyRangeCache across CosmosClients targeting the same account #49560
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
xinlian12
wants to merge
39
commits into
Azure:main
Choose a base branch
from
xinlian12:feature/shared-partition-key-range-cache
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
39 commits
Select commit
Hold shift + click to select a range
5a4b74d
Cosmos Java: share PartitionKeyRangeCache across CosmosClients target…
xinlian12 f3fa638
Cosmos Java: use URI (not String) as registry key for case-insensitiv…
xinlian12 75f93d5
Cosmos Java: keep registry key as serviceEndpoint URI (not _rid) for …
xinlian12 05f6780
Cosmos Java: add PhantomReference-based leak safety net for unclosed …
xinlian12 cbd47a8
Cosmos Java: use azure-core ReferenceManager for leaked-client safety…
xinlian12 9b43616
remove kafka test output
xinlian12 892a7d7
Cosmos Java: trim comments to core logic; drop cross-SDK references
xinlian12 1a5e92d
Cosmos Java: address PR review feedback
xinlian12 9356fbc
Retrigger CI
xinlian12 3afed67
Retrigger CI
xinlian12 39913c6
Cosmos Java: clarify 2-arg RxPartitionKeyRangeCache ctor behavior
xinlian12 022836d
Retrigger CI
xinlian12 c3eaba8
Retrigger CI
xinlian12 d585e36
Retrigger CI
xinlian12 7285d1c
Remove 2-arg RxPartitionKeyRangeCache ctor; require explicit endpoint
xinlian12 d6494d8
Key shared PartitionKeyRangeCache registry by database account id
xinlian12 7a693fa
Add e2e tests for shared PartitionKeyRangeCache + refresh Configs com…
xinlian12 4fad3a9
Address PR review on e2e test: data provider, TestObject, public acce…
xinlian12 a806ee6
Fix two regressions caught by CI live tests
xinlian12 5ffb1c0
Revert registry key to service endpoint URI (drop fragile account-id …
xinlian12 9162bb2
Fix CI: remove unworkable e2e negative test; revert PKR_LOOK_UP diagn…
xinlian12 99dfd30
Cosmos: restore outer-site PKR_LOOK_UP diagnostics; fix FaultInjectio…
xinlian12 3559d7f
Cosmos: make CosmosContainerOpenConnectionsAndInitCachesTest robust t…
xinlian12 1db1321
Cosmos: drop racy exact refcount-delta assertions in SharedPartitionK…
xinlian12 abb1681
Cosmos: fix NPE in CosmosDiagnosticsContext.getRequestInfo() for stor…
xinlian12 0f35e7b
Merge remote-tracking branch 'upstream/main' into feature/shared-part…
xinlian12 c02a27f
[Cosmos] Revert PARTITION_KEY_RANGE_LOOK_UP diagnostics to network-only
xinlian12 41cac7d
fix few flaky tests
xinlian12 5992363
fix null ref exception
xinlian12 917fb7e
fix more flaky tests
xinlian12 c21a0e6
fix flaky tests
xinlian12 741087c
fix flaky tests
xinlian12 c93502a
merge from main and resolve conflicts
xinlian12 b8b8379
revert unnecessary changes
xinlian12 1b529da
[Cosmos] Address review: add PR link to CHANGELOG + shared-cache test…
xinlian12 0cc458a
[Cosmos] Fix live tests broken by shared PartitionKeyRangeCache
xinlian12 a5c33f4
revert unnecessary changes
xinlian12 4ca00fe
[Cosmos] Detach initial AsyncCacheNonBlocking load to avoid pinning t…
xinlian12 c0e4103
[Cosmos] Fix multi-master FaultInjection PK-range test broken by shar…
xinlian12 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
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
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.
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.