[JAVA-1799] Use electionId reported by ismaster to avoid sending operations to false primaries Created: 06/May/15  Updated: 25/Sep/16  Resolved: 11/May/15

Status: Closed
Project: Java Driver
Component/s: Cluster Management
Affects Version/s: None
Fix Version/s: 2.13.2, 3.0.2, 3.1.0, 2.14.0

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DRIVERS-228 Use electionId to detect stale primar... Closed
Related

 Description   

See https://github.com/mongodb/specifications/commit/becdb2e18e1bd67c5bdaadb04f719d5cd1a03867 for the rationale for this change.



 Comments   
Comment by Jeffrey Yemin [ 28/May/15 ]

Fix released in 2.13.2.

Comment by Githook User [ 11/May/15 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Use the electionId reported by ismaster to detect a stale primary by invalidate primaries that have an older electionId than one already seen.

JAVA-1799
Branch: 2.13.x
https://github.com/mongodb/mongo-java-driver/commit/f399388c63f9d4a59d444469d289098ee4333496

Comment by Githook User [ 11/May/15 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Use the electionId reported by ismaster to detect a stale primary by invalidate primaries that have an older electionId than one already seen.

JAVA-1799
Branch: 2.x
https://github.com/mongodb/mongo-java-driver/commit/7ec0aa89bf14bf6e2c9cbb0f74ca7c2a5a07ad81

Comment by Githook User [ 10/May/15 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Updated server discovery and monitoring specification tests

JAVA-1799
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/0747ed71ff9459861c0b52f3d3a29501b70f16e4

Comment by Githook User [ 10/May/15 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Use the electionId reported by ismaster to detect a stale primary by invalidate primaries that have an older electionId than one already seen.

JAVA-1799
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/0ba02357d6324c6d91783bc2aea4c2942218dac3

Comment by Githook User [ 10/May/15 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Updated server discovery and monitoring specification tests

JAVA-1799
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/e044e7f8d97ca81f61af73ce4ac4eeb5ceeb76a0

Comment by Githook User [ 10/May/15 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Use the electionId reported by ismaster to detect a stale primary by invalidate primaries that have an older electionId than one already seen.

JAVA-1799
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/018017b8b5b63acbb6da8367d31791eff3411167

Generated at Thu Feb 08 08:55:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.