Skip to content

Regions Contacted on Multi Region Diagnostics Fix#41045

Merged
tvaron3 merged 23 commits into
Azure:mainfrom
tvaron3:tvaron3/diagnosticsImprovements
Jul 10, 2024
Merged

Regions Contacted on Multi Region Diagnostics Fix#41045
tvaron3 merged 23 commits into
Azure:mainfrom
tvaron3:tvaron3/diagnosticsImprovements

Conversation

@tvaron3

@tvaron3 tvaron3 commented Jul 8, 2024

Copy link
Copy Markdown
Member

Description

The regionsContacted field in the diagnostics was displaying the wrong region for multi-region accounts that don't specify a preferred regions. We were returning the first location in a map of the location endpoints and the regions, so not necessarily the location related to the default endpoint. Now it should return the first region in the available write locations list. #40696

Comment thread sdk/cosmos/azure-cosmos/CHANGELOG.md Outdated
@azure-sdk

Copy link
Copy Markdown
Collaborator

API change check

API changes are not detected in this pull request.

Comment thread sdk/cosmos/azure-cosmos/CHANGELOG.md Outdated
Co-authored-by: Kushagra Thapar <kushuthapar@gmail.com>

@FabianMeiswinkel FabianMeiswinkel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks

@tvaron3

tvaron3 commented Jul 9, 2024

Copy link
Copy Markdown
Member Author

/azp run java - cosmos - tests

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@tvaron3

tvaron3 commented Jul 9, 2024

Copy link
Copy Markdown
Member Author

/azp run java - cosmos - tests

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@tvaron3

tvaron3 commented Jul 10, 2024

Copy link
Copy Markdown
Member Author

/azp run java - cosmos - tests

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@tvaron3 tvaron3 enabled auto-merge (squash) July 10, 2024 20:20
@tvaron3 tvaron3 merged commit 5927e30 into Azure:main Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cosmos DB Java SDK Diagnostics report incorrect region for multi-region accounts

5 participants