[JAVA-1842] listCollections and listIndexes commands are forced to the primary Created: 26/May/15 Updated: 28/May/15 Resolved: 27/May/15 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Command Operations |
| Affects Version/s: | 2.13.0 |
| Fix Version/s: | 2.13.2, 2.14.0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Chunming Li (Inactive) | Assignee: | Ross Lawley |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Description |
|
I ran the listCollections command with primaryPreferred read preference against a 3.0+ replica set, but instead the driver dictates primary read preference here. I'd like the command to work when the primary is down. This is likely caused by the string case mismatching in the _obedientCommands. |
| Comments |
| Comment by Jeffrey Yemin [ 28/May/15 ] |
|
Fix released in 2.13.2. |
| Comment by Githook User [ 27/May/15 ] |
|
Author: {u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}Message: Fix case in obedientCommands And revert the regression tests back after being
|
| Comment by Githook User [ 27/May/15 ] |
|
Author: {u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}Message: Fix case in obedientCommands And revert the regression tests back after being
|