lib/mongo/operation/shared/executable.rb in mongo-2.16.4 vs lib/mongo/operation/shared/executable.rb in mongo-2.17.0
- old
+ new
@@ -41,9 +41,13 @@
end
else
session.pin_to_service(connection.service_id)
end
end
+
+ if session.snapshot? && !session.snapshot_timestamp
+ session.snapshot_timestamp = result.snapshot_timestamp
+ end
end
process_result(result, connection)
end
end
end