Skip to content
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

Cosmos DB: Add GlobalEndpointManager #18983

Closed
ealsur opened this issue Aug 30, 2022 · 2 comments · Fixed by #22100
Closed

Cosmos DB: Add GlobalEndpointManager #18983

ealsur opened this issue Aug 30, 2022 · 2 comments · Fixed by #22100
Labels
Client This issue points to a problem in the data-plane of the library. Cosmos feature-request This issue requires a new behavior in the product in order be resolved.

Comments

@ealsur
Copy link
Member

ealsur commented Aug 30, 2022

Add internal GlobalEndpointManager to handle:

Requires #18982

  • Periodic account information refresh (5M)
  • Marking regions as unavailable

Reference: https://github.com/Azure/azure-cosmos-dotnet-v3/blob/master/Microsoft.Azure.Cosmos/src/Routing/GlobalEndpointManager.cs

@ealsur ealsur added Cosmos feature-request This issue requires a new behavior in the product in order be resolved. labels Aug 30, 2022
@RickWinter RickWinter added the Client This issue points to a problem in the data-plane of the library. label Aug 30, 2022
@imanvt imanvt removed their assignment Dec 4, 2022
@jay-most
Copy link
Contributor

3 - 4 weeks - > T-Shirt L

@ealsur
Copy link
Member Author

ealsur commented Jul 11, 2023

Design content:

Image

LocationCache is already present (done in #18982) -> https://github.com/Azure/azure-sdk-for-go/blob/main/sdk/data/azcosmos/cosmos_location_cache.go

GEM just needs to wrap the LocationCache Marking of unavailable and provide background refresh capabilities that wire the Account Properties (regions + MultiMaster) into the locationCache

@ealsur ealsur linked a pull request Aug 3, 2023 that will close this issue
@github-actions github-actions bot locked and limited conversation to collaborators Mar 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library. Cosmos feature-request This issue requires a new behavior in the product in order be resolved.
Projects
Status: Done
4 participants