[CDRIVER-903] slaveOk bit not set when using hint to query a secondary directly Created: 02/Oct/15 Updated: 20/Oct/16 Resolved: 05/Apr/16 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | libmongoc |
| Affects Version/s: | 1.2-rc0, 1.4.0 |
| Fix Version/s: | 1.4.0, 1.3.0-beta0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jeremy Mikola | Assignee: | Jeremy Mikola |
| Resolution: | Done | Votes: | 0 |
| Labels: | regression | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
Reopening to merge into 1.3 codebase on master. |
| Comments |
| Comment by Githook User [ 03/May/16 ] |
|
Author: {u'username': u'jmikola', u'name': u'Jeremy Mikola', u'email': u'jmikola@gmail.com'}Message: Test changes were necessary because mongoc_cursor_set_hint() forces the slaveOk flag ( |
| Comment by Githook User [ 05/Apr/16 ] |
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: |
| Comment by Jeremy Mikola [ 01/Apr/16 ] |
|
Re-opened, as this appears to have regressed in 1.4.0-dev. This is causing the tests for I don't believe the regression is in 1.3.x, as we would have noticed this in the PHPC and HHVM driver test suites. That said, you may want to port the tests from |
| Comment by Githook User [ 14/Oct/15 ] |
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}Message: Merge remote-tracking branch 'upstream/r1.2'
Conflicts: |
| Comment by Githook User [ 14/Oct/15 ] |
|
Author: {u'username': u'jmikola', u'name': u'Jeremy Mikola', u'email': u'jmikola@gmail.com'}Message: This fixes an issue with the slaveOk bit not being set when using hint to query We introduce a new is_write_command property on the cursor (private API change) Conflicts: |
| Comment by Githook User [ 14/Oct/15 ] |
|
Author: {u'username': u'jmikola', u'name': u'Jeremy Mikola', u'email': u'jmikola@gmail.com'}Message: This was fixed by |
| Comment by Githook User [ 14/Oct/15 ] |
|
Author: {u'username': u'jmikola', u'name': u'Jeremy Mikola', u'email': u'jmikola@gmail.com'}Message: This fixes an issue with the slaveOk bit not being set when using hint We introduce a new is_write_command property on the cursor (private API |
| Comment by Githook User [ 13/Oct/15 ] |
|
Author: {u'username': u'jmikola', u'name': u'Jeremy Mikola', u'email': u'jmikola@gmail.com'}Message: This fixes an issue with the slaveOk bit not being set when using hint to query We introduce a new is_write_command property on the cursor (private API change) Conflicts: |
| Comment by Jeremy Mikola [ 04/Oct/15 ] |