0

mongo的每秒访问数在1000~2000之间 报错: Retryable write with txnNumber 29 is prohibited on session 246c27c2-3ceb-4466-acfe-b2bf66476d95 – u4nTF1+wmByGgmwndZCCo5FgRx9gUEtGEkFRhsYwq3A= because a newer retryable write with txnNumber 927 has already started on this session. 只有在请求量大的时候会出现此报错,每秒有1~2条,提示事务txnNumber被使用,但业务逻辑中,没使用startSession, 新版本的mongo拓展也没有close方法,怎么才能手动关闭连接。 有没有大神遇到过此情况,求解

已回答的问题