RUBY-391: raise ConnectionFailure on 'not master' error.
Fix a problem with the exception raised when trying to insert in a replicaset when primary is not available. The ssue is reported here: https://jira.mongodb.org/browse/RUBY-391
Pass cursor payload to instrumentation even if there's no logger.
…c78ca90265 RUBY-380 Support geoHaystack index type.
…hooking into `instrument` method. also matches behaviour of insert, update, remove methods
connecting to unreponsive node. set default op timeout to 30 seconds.
This reverts commit e9da244.