You can now upgrade your applicable MongoDB account to the latest version by using our automatic database upgrade process. The upgrade process doesn’t interrupt the availability of your account and it doesn’t consume RU/s or decrease the capacity of the database at any point. No existing data or indexes will be affected by this process. This is particularly useful if you want to leverage the new functionality available in version 3.6 and also to ensure that your applications are running on the latest version of the service.
The steps to upgrade your account are the following:
If your account qualifies for this upgrade, you’ll be able to execute it from the Azure Portal under the Features
blade. We’ll walk through the steps in this blog post below.
First, let’s look at all the specific benefits from upgrading your account.
The following are the new features included in version 3.6:
These are features that have changed with this new version:
_id
property indexed by default. All other indexes have to be created manually.For the upgrade to version 3.6, the database account endpoint suffix will be updated to the following format in your applications:
<your_database_account_name>.mongo.cosmos.azure.com
You need to replace the existing endpoint in your applications and drivers that connect with this database account. Only connections that are using the new endpoint will have access to the features in the MongoDB version 3.6. The previous endpoint should have the suffix .documents.azure.com
.
Let’s take a look at how to do this on the Azure Portal.
3.2
. Features
blade. This will reveal the Account level features that are available for your database account.Upgrade to Mongo server version 3.6
row. If you don’t see this option, your account might not be eligible for this upgrade. Please file a support ticket if that is the case.#do not use #cosmos #cosmosdb #mongodb #new #server #upgrade