当
pymongo
引发 pymongo.errors.OperationFailure
类型的异常时,这意味着什么
例外是:
The heap is empty, full error: {'ok': 0.0, 'errmsg': 'The heap is empty', 'code': 8, 'codeName': 'UnknownError', '$clusterTime': {'clusterTime': Timestamp(1690967467, 7), 'signature': {'hash': b'....', 'keyId': ....}}, 'operationTime': Timestamp(1690967467, 7)}
我可以改变什么来避免这种异常吗?
注:
不清楚如何重现错误,因为它是随机发生的,如果我重复请求,它会返回结果。