A scalable, fully managed NoSQL database for JSON documents with fast queries and automatic indexing
Thank you for reaching out to Microsoft Q&A. Based on the published documentation, I would not enable HA. Azure DocumentDB documents HA as synchronous standby replication and automatic shard failover, not as a setting that changes transaction write-conflict handling or MongoDB driver error labels. High availability in Azure DocumentDB
I would enable HA for its availability and failover benefits, not to address this retry behavior. The Azure DocumentDB error reference does not document this lock-timeout message or a TransientTransactionError labeling contract, so I would open an Azure support request before changing tiers or adding a custom retry classification. Include a minimal reproduction, region, service and driver versions, HA settings, and the complete command response so support can confirm whether this is intended behavior, a compatibility gap, or a service issue. Troubleshoot common issues in Azure DocumentDB
Please 'Upvote' (Thumbs-up) and 'Accept' as an answer if the response was helpful. This will help other community members facing the same issue.
Best regards, Andrew S Taylor