From 8ea4a01a9d29071c537d9c08304cefeea517fbf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96hlund?= Date: Thu, 14 Mar 2024 09:44:46 +0100 Subject: [PATCH] Comment --- .../SynchronizedStorage/SynchronizedStorage.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/NServiceBus.Storage.MongoDB/SynchronizedStorage/SynchronizedStorage.cs b/src/NServiceBus.Storage.MongoDB/SynchronizedStorage/SynchronizedStorage.cs index 4d4c3d95..6df03404 100644 --- a/src/NServiceBus.Storage.MongoDB/SynchronizedStorage/SynchronizedStorage.cs +++ b/src/NServiceBus.Storage.MongoDB/SynchronizedStorage/SynchronizedStorage.cs @@ -28,6 +28,7 @@ protected override void Setup(FeatureConfigurationContext context) { var database = client.GetDatabase(databaseName); + // perform a query to the server to make sure cluster details are loaded so we can check them later database.ListCollectionNames(); } catch (ArgumentException ex)