-
Notifications
You must be signed in to change notification settings - Fork 543
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
MongoDB Transactions requires replicas #5238
Comments
We are also interested in that. It became more important after MongoDB EF Provider 8.1 enabled transactions by default and for now we have to explicitly disable those for local work |
I opened a PR that enables with the extension method: namespace Aspire.Hosting;
public static class MongoDBBuilderExtensions
{
+ public static IResourceBuilder<MongoDBServerResource> WithReplicaSet(this IResourceBuilder<MongoDBServerResource> builder, string? replicaSet = null);
} |
How can i track status? |
Here: #5712 It's also linked in the right menu of this issue |
@jakoss is it gonna be published any soon? Pr was open since september :( |
No, this PR needs to be replat on top of a new capability that isn't yet implemented. Being able to run commands in the container, on start. Either that or we change the entrypoint of the build in container to be a shell script that does this. |
Actually, I'll follow up with @twsouthwick to see if we can pull something off for 9.x, there may be options here. |
Hello, we are using MongoDB and recently we have integrated with aspire.
However, running MongoDB transactions requires replicas. As I checked I couldn't find any solution right now.
Can you assist me if its possible please?
The text was updated successfully, but these errors were encountered: