Classes of errors that could be caused by a replica set reconfiguration.
Not master error codes.
Replica set reconfigurations can be either in the form of an operation error with code 13435, or with an error message stating the server is not a master. (This encapsulates codes 10054, 10056, 10058)
# File lib/moped/errors.rb, line 108 def reconfiguring_replica_set? err = details["err"] || details["errmsg"] || details["$err"] || "" NOT_MASTER.include?(details["code"]) || err.include?("not master") end
Generated with the Darkfish Rdoc Generator 2.