lib/mongo/operation/shared/executable.rb in mongo-2.7.2 vs lib/mongo/operation/shared/executable.rb in mongo-2.8.0.rc0
- old
+ new
@@ -43,9 +43,13 @@
end
end
def process_result(result, server)
server.update_cluster_time(result)
+ if result.not_master? || result.node_recovering?
+ server.unknown!
+ server.monitor.scan_semaphore.signal
+ end
session.process(result) if session
result
end
end
end