diff --git a/src/Squidex.Infrastructure.MongoDb/EventStore/MongoEventStore.cs b/src/Squidex.Infrastructure.MongoDb/EventStore/MongoEventStore.cs index 9d21d7cc6..f9ab7dec2 100644 --- a/src/Squidex.Infrastructure.MongoDb/EventStore/MongoEventStore.cs +++ b/src/Squidex.Infrastructure.MongoDb/EventStore/MongoEventStore.cs @@ -42,7 +42,7 @@ namespace Squidex.Infrastructure.MongoDb.EventStore protected override MongoCollectionSettings CollectionSettings() { - return new MongoCollectionSettings { WriteConcern = WriteConcern.WMajority }; + return new MongoCollectionSettings { ReadPreference = ReadPreference.Primary, WriteConcern = WriteConcern.WMajority }; } protected override async Task SetupCollectionAsync(IMongoCollection collection)