We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a13799 commit ff6d227Copy full SHA for ff6d227
lib/mongo/session.rb
@@ -812,6 +812,7 @@ def with_transaction(options=nil)
812
if e.label?(Mongo::Error::UNKNOWN_TRANSACTION_COMMIT_RESULT_LABEL)
813
# WriteConcernFailed
814
if e.is_a?(Mongo::Error::OperationFailure) && e.code == 64 && e.wtimeout?
815
+ transaction_in_progress = false
816
raise
817
end
818
if Time.now >= deadline
0 commit comments