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

Allow Multi-region or Application Preferred Regions in EF Core Cosmos #29424

Closed
codechavez opened this issue Oct 25, 2022 · 0 comments · Fixed by #31643
Closed

Allow Multi-region or Application Preferred Regions in EF Core Cosmos #29424

codechavez opened this issue Oct 25, 2022 · 0 comments · Fixed by #31643
Labels
area-cosmos closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. customer-reported type-enhancement
Milestone

Comments

@codechavez
Copy link

codechavez commented Oct 25, 2022

I'm a big fan of EF Core, and I also like to use EF Core Cosmos, but I have come across a scenario where I have a cosmos DB being geo-replicated (eastus2/westus2/centralus). I know that we can set up a region when configuring options for cosmos when using EF Core for cosmos. (using C#)

options.UseCosmos("", "", o=> {
    o.Region(Regions.WestUS2);
})

However, when in a geo-replication/failover scenario I would like to be able to set up a list of regions similar to what Cosmos SDK does but for EF Core, something like the code below.

options.UseCosmos("", "", o=> {
   o.Regions(Regions.WestUS2, Regions.EastUS2)
})

Can this feature be added in the upcoming release?

@ajcvickers ajcvickers added this to the Backlog milestone Oct 26, 2022
@ajcvickers ajcvickers removed this from the Backlog milestone Nov 29, 2022
@ajcvickers ajcvickers added this to the Backlog milestone Nov 30, 2022
@AndriySvyryd AndriySvyryd modified the milestones: Backlog, 8.0.0 Jun 28, 2023
@AndriySvyryd AndriySvyryd added the closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. label Sep 6, 2023
@AndriySvyryd AndriySvyryd removed their assignment Sep 6, 2023
@ajcvickers ajcvickers modified the milestones: 8.0.0, 8.0.0-rc2 Sep 8, 2023
@ajcvickers ajcvickers modified the milestones: 8.0.0-rc2, 8.0.0 Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-cosmos closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. customer-reported type-enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants