[SERVER-23476] Re-enable resync command for replica set nodes Created: 01/Apr/16  Updated: 17/May/19  Resolved: 22/Aug/16

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

Type: Task Priority: Major - P3
Reporter: Scott Hernandez (Inactive) Assignee: Scott Hernandez (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
is documented by DOCS-9537 Docs for SERVER-23476: Re-enable resy... Closed
is documented by DOCS-10930 Calling rs.syncFrom(<newNode>) during... Closed
Duplicate
is duplicated by SERVER-7680 Have replSetSyncFrom restart initialS... Closed
is duplicated by SERVER-27143 write initial sync js test for apply ... Closed
Related
related to SERVER-25644 Remove nested function from ReplSetTe... Closed
related to SERVER-7680 Have replSetSyncFrom restart initialS... Closed
is related to SERVER-15290 Make resync command wait till the ini... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 18 (08/05/16), Repl 2016-08-29
Participants:
Linked BF Score: 0

 Description   

Since we have temporarily disabled the resync command while reworking code and bringing the DataReplicator into the mix, we need to re-enable support for it and its tests.

These are the expected behaviors:

  • Each resync command will cancel any existing data replication and start a new resync (an initial sync)
  • A resync will block waiting for the initial sync to complete
  • During an initial sync the ReplSetSyncFrom command will set the sync source and issue a resync command internally – having the effect that the initial syncs first attempt uses the supplied host.


 Comments   
Comment by Githook User [ 26/Aug/16 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-23476: Cleanup help note.
Branch: master
https://github.com/mongodb/mongo/commit/2f3bc77cdf04a1bc22ccadcd6a61578a5b192f80

Comment by Githook User [ 18/Aug/16 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-23476: re-enable resync tests
Branch: master
https://github.com/mongodb/mongo/commit/f5821cbc18c7270a63634bb4080375d165464939

Comment by Githook User [ 18/Aug/16 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-23476: restart initialsync/resync if replSetSyncFrom is called
Branch: master
https://github.com/mongodb/mongo/commit/74682194962bf695d03a8f7e120d998136c0c1f9

Comment by Githook User [ 16/Aug/16 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-23476: move dbhash checks into replsettest
Branch: master
https://github.com/mongodb/mongo/commit/8455317a383557ec3c253532c71f7065263eff80

Comment by Githook User [ 16/Aug/16 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-23476: add server metrics of initial sync and resync calls in DataReplicator
Branch: master
https://github.com/mongodb/mongo/commit/5aba7ed97be8f48f1fe2414ada22d79801a7ba1c

Comment by Githook User [ 16/Aug/16 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-23476: exit maint. mode after initialSync/resync
Branch: master
https://github.com/mongodb/mongo/commit/f55afb6e757969ca82c8b10246148dbccd746529

Comment by Githook User [ 16/Aug/16 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-23476: remove unused lock_guard
Branch: master
https://github.com/mongodb/mongo/commit/65f09b025d8e63072fd8be620b2e8f3cb11c42b2

Comment by Githook User [ 16/Aug/16 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-23476 restore ReplicationCoordinatorExternalStateImpl::shutdown logging
Branch: master
https://github.com/mongodb/mongo/commit/d9a7a0777963b8404f40226b153e495fa5a3ae5e

Comment by Githook User [ 11/Aug/16 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-23476: wire resync back up
Branch: master
https://github.com/mongodb/mongo/commit/2ab6274544b795a22e3450205b7cad7bc35ddbeb

Comment by Githook User [ 24/Jul/16 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-23476: logging before wait/join DR::_waitOnAndResetAll_inlock
Branch: master
https://github.com/mongodb/mongo/commit/1af80cb7d16a8c791aba667758d5fea22384814b

Comment by Githook User [ 24/Jul/16 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-23476: move ownership of TaskRunner out of StorageInterfaceImpl
Branch: master
https://github.com/mongodb/mongo/commit/8ab78f2308cd5c26e00a9c7c5051ec58db6d1275

Comment by Githook User [ 24/Jul/16 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-23476: add getStats to OldThreadPool
Branch: master
https://github.com/mongodb/mongo/commit/c584d851c1cce95e81198e73f48234e3199fba5f

Comment by Githook User [ 24/Jul/16 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-23476: break out rs_sync runSyncThread into its own class
Branch: master
https://github.com/mongodb/mongo/commit/739f13872ceee7b5301b3699f962cd08bf7d6eb2

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