christkv/node-mongodb-native — pull request #498 by mattbornski (2012-02-04 03:14:12+00:00)
Title: findOne from primary

Fix the following case:
1. Replicaset configured with multiple nodes, replicaset connection configured to read from secondary
2. Execute findOne query, attempt to force to read from primary

Previously the {read:'primary'} option was ignored for findOne (although not for find).