[JAVA-1802] Improve runCommand API documentation Created: 06/May/15 Updated: 07/Oct/15 Resolved: 07/Sep/15 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Documentation |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.0 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Ross Lawley | Assignee: | Ross Lawley |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
Clarify the intent and read preference used by the MongoCollection.runCommand methods. Where the commands are run are based on if a read preference is supplied:
Add examples to the quick-tour-admin.md, needs to be done in async also. |
| Comments |
| Comment by Jeffrey Yemin [ 07/Oct/15 ] |
|
Released in 3.1.0 |
| Comment by Ross Lawley [ 07/Sep/15 ] |
|
The work for clarifying and the API docs was done in Now the supplied readPreference is used and "write" commands can use either method with the `primary` read preference. |
| Comment by Jeffrey Yemin [ 22/Jun/15 ] |
|
There is actually a bug related to this ( |