[DRIVERS-279] Use setVersion and electionId to detect stale primaries Created: 15/Dec/15 Updated: 15/Apr/19 Resolved: 13/Apr/17 |
|
| Status: | Closed |
| Project: | Drivers |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | David Golden | Assignee: | Rathi Gnanasekaran |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||
| Driver Compliance: |
|
||||||||||||||||||||||||||||||||||||
| Description |
|
This is a change to the SDAM specification. Because electionIds from different protocol versions aren't comparable, You can see the details of the spec change in these commits:
SDAM tests are also updated:
NOTE: Make sure to update the test runner to assert on electionId and setVersion equality |
| Comments |
| Comment by Jeremy Mikola [ 06/Jan/16 ] |
|
Validating for PHPC and HHVM, since CDRIVER implements this. SDAM isn't implemented in PHP, and this isn't relevant to PHPLIB. |