diff --git a/fdbclient/azure_backup/BackupContainerAzureBlobStore.actor.cpp b/fdbclient/azure_backup/BackupContainerAzureBlobStore.actor.cpp index 0c3ac8ba02..59d31fc8f3 100644 --- a/fdbclient/azure_backup/BackupContainerAzureBlobStore.actor.cpp +++ b/fdbclient/azure_backup/BackupContainerAzureBlobStore.actor.cpp @@ -333,7 +333,10 @@ Future BackupContainerAzureBlobStore::create() { TraceEvent(SevDebug, "BCAzureBlobStoreCreateContainer").detail("ContainerName", containerName); Future createContainerFuture = asyncTaskThread.execAsync([containerName = this->containerName, client = this->client] { - waitAzureFuture(client->create_container(containerName), "create_container"); + auto outcome = client->get_container_properties(containerName).get(); + if (!outcome.success()) { + waitAzureFuture(client->create_container(containerName), "create_container"); + } return Void(); }); Future encryptionSetupFuture = usesEncryption() ? encryptionSetupComplete() : Void();