pymongo.errors.OperationFailure: This MongoDB deployment does not support retryable writes. Please a
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了pymongo.errors.OperationFailure: This MongoDB deployment does not support retryable writes. Please a相关的知识,希望对你有一定的参考价值。
This MongoDB deployment does not support retryable writes. Please add retryWrites=false to your connection string.
此MongoDB部署不支持可重试写入。请将retryWrites=false添加到连接字符串中。
如下设置即可
client = MongoClient("192.168.52.131:27017", retryWrites="false")
以上是关于pymongo.errors.OperationFailure: This MongoDB deployment does not support retryable writes. Please a的主要内容,如果未能解决你的问题,请参考以下文章