[SERVER-19765] Set term to -1 by default and reset term on protocol version downgrade Created: 04/Aug/15  Updated: 25/Jan/17  Resolved: 27/Aug/15

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 3.1.8

Type: Task Priority: Major - P3
Reporter: Siyuan Zhou Assignee: Siyuan Zhou
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: RPL 7 08/10/15, RPL 8 08/31/15
Participants:

 Description   

Term -1 means is for protocol version 0. Starting replication will restore the term to the correct current term in protocol version 1. After downgrade, the term should be reset to -1.



 Comments   
Comment by Githook User [ 27/Aug/15 ]

Author:

{u'username': u'visualzhou', u'name': u'Siyuan Zhou', u'email': u'siyuan.zhou@mongodb.com'}

Message: SERVER-19765 Change topoCoord's default term to -1 and reset term on upgrade and downgrade.
Branch: master
https://github.com/mongodb/mongo/commit/cf483582594ccc1750868929102aad4cbb5274db

Comment by Githook User [ 27/Aug/15 ]

Author:

{u'username': u'visualzhou', u'name': u'Siyuan Zhou', u'email': u'siyuan.zhou@mongodb.com'}

Message: SERVER-19765 Add term to update position args.
Branch: master
https://github.com/mongodb/mongo/commit/0a1efe3a645b523dd0d7407b4d53a2ec307c29a5

Comment by Githook User [ 27/Aug/15 ]

Author:

{u'username': u'visualzhou', u'name': u'Siyuan Zhou', u'email': u'siyuan.zhou@mongodb.com'}

Message: SERVER-19765 Rename term constants.
Branch: master
https://github.com/mongodb/mongo/commit/524976c358b7a5d791973dceb91cffb64b14f22e

Generated at Thu Feb 08 03:52:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.