lib/mongo/operation/write/bulk/bulkable.rb in mongo-2.4.3 vs lib/mongo/operation/write/bulk/bulkable.rb in mongo-2.5.0.beta

- old
+ new

@@ -34,10 +34,13 @@ # @return [ Result ] The operation result. # # @since 2.0.0 def execute(server) if server.features.write_command_enabled? - execute_write_command(server) + result = execute_write_command(server) + server.update_cluster_time(result) + session.process(result) if session + result else execute_message(server) end end