[SERVER-15089] Thread applier (bgsync) through replication coordinator Created: 29/Aug/14  Updated: 11/Jul/16  Resolved: 26/Sep/14

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

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

Issue Links:
Related
related to SERVER-13573 Retry rollback FindCommonPoint before... Closed
Participants:

 Description   

1. replace theReplSet->getMemberToSyncTo() with replication coord passthrough (new code goes to topocoord chooseNewSyncSource)



 Comments   
Comment by Githook User [ 26/Sep/14 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-15089 fix REMOVED nodes disconnecting sync source connections too early
Branch: master
https://github.com/mongodb/mongo/commit/aa656086587c2c5513d884614ae55a38ec838df3

Comment by Githook User [ 26/Sep/14 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-15089 separate h fields for lastFetched vs. lastApplied
Branch: master
https://github.com/mongodb/mongo/commit/1ba04a9b86b08a31bd6b59a0fb7895034051df9a

Comment by Githook User [ 26/Sep/14 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-15089 initialize member variable
Branch: master
https://github.com/mongodb/mongo/commit/bb2fa86ebe66f7b13857e4c5bb07583628741eb1

Comment by Githook User [ 26/Sep/14 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-15089 Add new Applier class and remove theReplSet references from BackgroundSync
Branch: master
https://github.com/mongodb/mongo/commit/e86e08deff7293b5778fad27df9031c013595b12

Comment by Githook User [ 24/Sep/14 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-15089 add shouldChangeSyncSource() to topocoord
Branch: master
https://github.com/mongodb/mongo/commit/03d22b14a74564e686fad7b75c093eaf8371321b

Comment by Githook User [ 19/Sep/14 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-15089 Introduce drain concept into ReplicationCoordinator and Impl.
Branch: master
https://github.com/mongodb/mongo/commit/72f186db7490152b7b2fcf8df924982fc9083270

Comment by Githook User [ 19/Sep/14 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-15089 move the applier threadpools into SyncTail
Branch: master
https://github.com/mongodb/mongo/commit/7e121c042020285789730da5e9ec9c70800585a8

Comment by Githook User [ 19/Sep/14 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-15089 minvalid helper functions; move tryToGoLiveAsASecondary() to sync_tail.cpp
Branch: master
https://github.com/mongodb/mongo/commit/d4939de9c4ee3f3fd2d6b3bc55d4414b6d850c66

Comment by Githook User [ 19/Sep/14 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-15089 convert non-legacy usage of lastOpTimeWritten to replCoord's lastOpTimeApplied
Branch: master
https://github.com/mongodb/mongo/commit/3900c740dc53c3de9fbb5a7168378f5b58699265

Comment by Githook User [ 19/Sep/14 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-15089 prep tryToGoLiveAsSecondary for moving into applier
Branch: master
https://github.com/mongodb/mongo/commit/96f8616e7c078040af55a58859e5a1d563b42120

Comment by Githook User [ 16/Sep/14 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-15089 Construct OpTime from seconds since epoch, not milliseconds since epoch.

The two-parameter optime constructor takes as its first argument the number of seconds
since the UNIX epoch, as an unsigned 32-bit integer, but we were passing it the number
of milliseconds since same, as an unsigned 64-bit integer.
Branch: master
https://github.com/mongodb/mongo/commit/47260bcc495c093e5a2542a3d2ccdd43e796a369

Comment by Githook User [ 12/Sep/14 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-15089 remove fatal state and refactor rollback to use replcoord
Branch: master
https://github.com/mongodb/mongo/commit/f7a403b6ef67f6870adde252cf2dd794e8c1604b

Comment by Githook User [ 12/Sep/14 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-15089 chooseNewSyncSource hooked up in replication Applier
Branch: master
https://github.com/mongodb/mongo/commit/ff1ee391747092e2d03765402c6ab25ba7e1d538

Comment by Githook User [ 05/Sep/14 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-15089 cleanup oplogreader

1. Move some master/slave oplogreader code into master_slave.cpp
2. fix up includes for some files; remove pch.h from a header
3. remove awaitCapable check
4. add new "_host" field to oplogreader to store the HostAndPort we're connected
to; will be used by new Applier
Branch: master
https://github.com/mongodb/mongo/commit/4ce061a127e9f1fb1d31fbaeb64d1179a319316c

Comment by Githook User [ 29/Aug/14 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-15089 remove last uses of dbclient.connect(char*)
Branch: master
https://github.com/mongodb/mongo/commit/9a770ca1ce8d5c7fcad7efffe562abaa8dd4b138

Comment by Githook User [ 29/Aug/14 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-15089 oplogreader use HostAndPort to connect instead of strings
Branch: master
https://github.com/mongodb/mongo/commit/0fbd416c565ec4af11990e64cab887af12fbf76f

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