…It now returns null, as before, if there is no exception, instead of throwing IllegalStateException.
…t of this "can't say/call something is gone for good and replaced with something more understandable. Also fixed the retry log message to properly report elapsed time, and changed it from severe to warning. As part of this, restructured the code to make it more intelligible.
…mmand helpers like mapReduce, aggregate, and collStats.
… request port. Now there is only a thread local set during a requestStart/requestDone block, but never outside it.
…on the cursor that was requested
…t it's extensible in the future
…from static inner class to top-level.
…eption, which DuplicateKey now extends. WriteConcernException takes the command result and passes toString() of it to MongoException, so the JSON representation of the entire document will appear in logs, instead of just the "err" field
…ueries to be sent to secondaries with unacceptable latency and members that are not available for reads (in recovering state)
…AuthenticationProtocol to MongoAuthenticationMechanism
… Protocol enum to top level enum MongoAuthenticationProtocol