forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add client-level excluded regions and make it mutable. (Azure#36616)
* Preliminary changes to make certain properties dynamically configurable. * Preliminary changes to make certain properties dynamically configurable. * Preliminary changes to make certain properties dynamically configurable. * Preliminary changes to make certain properties dynamically configurable. * Preliminary changes to make certain properties dynamically configurable. * Preliminary changes to make certain properties dynamically configurable. * Preliminary changes to make certain properties dynamically configurable. * Preliminary changes to make certain properties dynamically configurable. * Added javadoc. * Added javadoc. * Added javadoc. * Added javadoc. * Attempt at fixing spot bugs. * Attempt at fixing CI pipeline. * Added mutability test for end-to-end timeout. * Adding test coverage. * Adding tests for excludeRegions. * Adding tests for excludeRegions. * Adding tests for excludeRegions. * Adding tests for excludeRegions. * Adding tests for excludeRegions. * Adding tests for excludeRegions. * Adding tests for excludeRegions. * Adding tests for SessionRetryOptions. * Adding tests for end-to-end operation timeout mutation. * Adding tests for threshold and threshold step mutation. * Adding tests for threshold and threshold step mutation. * Adding tests for exclude regions mutability. * Adding validations. * Refactorings. * Refactorings. * Refactorings. * Refactorings. * Wired excludeRegions to diagnostic string. * Fixed tests. * Used monitor object to synchronize update of excludeRegions. * Added test titles. * Refactorings. * Refactorings. * Refactorings. * Refactorings. * Adding / Fixing tests. * Wiring diagnostics. * Locking changes. * Diagnostic updated for wiring excluded regions. * Refactorings. * Fixing diagnostic issues. * Refactorings. * Refactorings. * Fixing spot bugs. * Adding 503 retry tests for point write operations. * Adding code comments. * Adding code comments. * Adding code comments. * Adding code comments. * Fixing concurrent access to excludedRegions. * Fixing NPE issues. * Adding tests for E2E timeout mutation. * Made regionSwitchHint volatile. * Reverting changes. * Refactorings. * Refactorings. * Refactorings. * Updated CHANGELOG.md. * Updated CHANGELOG.md. * Refactorings. * Refactorings. * Adding tests. * Adding tests. * Added tests for bulk, batch and LocationCache. * Added tests for bulk, batch and LocationCache. * Added tests for bulk, batch and LocationCache. * Added tests for bulk, batch and LocationCache. * Test fixes. * Test fixes. * Addressing tests. * Addressing tests. * Fixed faulty merge. * Addressing review comments. * Preliminary changes to inject excluded regions through a Supplier. * Preliminary changes to inject excluded regions through a Supplier. * Preliminary changes to inject excluded regions through a Supplier. * Fix CI issues. * Clean up code. * Clean up code. * Fix tests. * Clean up code. * Updated CHANGELOG.md. * Updated CHANGELOG.md. * Refactorings. * Reacting to review comments. * Fixing CI pipeline failures. * Refactorings. * Fixing CI issues. * Fixing CI/live-test issues.
- Loading branch information
Showing
16 changed files
with
3,174 additions
and
34 deletions.
There are no files selected for viewing
2,833 changes: 2,833 additions & 0 deletions
2,833
.../src/test/java/com/azure/cosmos/faultinjection/ExcludedRegionWithFaultInjectionTests.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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 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 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 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 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 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 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.