-
Notifications
You must be signed in to change notification settings - Fork 2.2k
DR fixes for java sdk #6139
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
DR fixes for java sdk #6139
Conversation
|
/azp run java - cosmos - tests |
|
Commenter does not have sufficient privileges for PR 6139 in repo Azure/azure-sdk-for-java |
|
/azp run java - cosmos - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
moderakh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please consider running the following scenario as a test:
- Create a multi master account enabled with two regions (eastus, westus)
- start ReadMyWrites with pref region is set to eastus
- remove eastus region from portal
- let the ReadMyWrites test continue running till eastus is fully removed from portal (wait for 20min)
- verify that we are sending the requests to westus (from the log)
- from portal add eastus region again
- wait till adding eastus region completes
- wait 20 min
- verify that we are targeting eastus (from the log)
- remove westus region from portal
- verify that there ReadMyWrites doesn't have any failure.
|
/azp run java - cosmos - tests |
|
/azp run java - cosmos - tests |
|
/azp run java - cosmos - tests |
|
/azp run java - cosmos - ci |
...crosoft-azure-cosmos/src/main/java/com/azure/data/cosmos/internal/GlobalEndpointManager.java
Outdated
Show resolved
Hide resolved
simplynaveen20
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please consider running the following scenario as a test:
- Create a multi master account enabled with two regions (eastus, westus)
- start ReadMyWrites with pref region is set to eastus
- remove eastus region from portal
- let the ReadMyWrites test continue running till eastus is fully removed from portal (wait for 20min)
- verify that we are sending the requests to westus (from the log)
- from portal add eastus region again
- wait till adding eastus region completes
- wait 20 min
- verify that we are targeting eastus (from the log)
- remove westus region from portal
- verify that there ReadMyWrites doesn't have any failure.
Did the testing and sent the result over email, above scenario is working as expected
...crosoft-azure-cosmos/src/main/java/com/azure/data/cosmos/internal/GlobalEndpointManager.java
Show resolved
Hide resolved
|
/azp run java - cosmos - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run java - cosmos - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@moderakh thoughts on UT? |
|
@kirankumarkolli for new customers we need to always validate the multi region fail over scenario. My thought for automated testing |
|
/azp run java - cosmos - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run java - cosmos - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run java - cosmos - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run java - cosmos - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
* DR fixes for java sdk * correct comment texts * fixing existing location cache test * formating change * correct text in mock account name * test fix as per #6352 * removing flaky assert from the test case
This PR contains miscellaneous fixes for disaster recovery.