The information on the article is incorrect. You cannot set the AnalyticalStoreTimeToLiveInSeconds to null #46814
Labels
Client
This issue points to a problem in the data-plane of the library.
Cosmos
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
Workflow: This issue is responsible by Azure service team.
Type of issue
Code doesn't work
Description
There has been a lot of confusion about how to disable the analytical store on a Cosmos container. I raised a bug about this some time ago that was dealt with by @ealsur. Some of the documentation has been amended, but this article still states that we can disable the CosmosDB integration by setting the TTL value to null, which is incorrect.
According to the updated documentation, to disable the analytical store we need to set the
AnalyticalStoreTimeToLiveInSeconds
property to0
(notnull
as stated in this article).It would also be great if it could be documented that setting the
AnalyticalStoreTimeToLiveInSeconds
property to0
will not work if continuous backup is enabled (which is the default).We are an ISV selling a SAAS application that is heavily dependent on CosmosDB. Documentation issues like this one can severely the service we provide to our customers.
Thanks for your help.
Page URL
https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.cosmos.containerproperties.analyticalstoretimetoliveinseconds?view=azure-dotnet
Content source URL
https://github.com/Azure/azure-docs-sdk-dotnet/blob/master/xml/Microsoft.Azure.Cosmos/ContainerProperties.xml
Document Version Independent Id
5d68eda7-bc03-d2b1-8f5b-e55207a4b839
Article author
@azure-sdk
Metadata
The text was updated successfully, but these errors were encountered: