[SERVER-19307] Use find/getmore commands in bgsync thread Created: 07/Jul/15  Updated: 25/Jan/17  Resolved: 22/Jul/15

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

Type: Improvement Priority: Major - P3
Reporter: Scott Hernandez (Inactive) Assignee: Benety Goh
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 SERVER-18384 implement find/getmore extensions w/ ... Closed
Related
related to SERVER-19649 awaitData queries are logged to slow ... Closed
is related to SERVER-18606 Use find command instead of query for... Closed
Backwards Compatibility: Fully Compatible
Sprint: RPL 7 08/10/15
Participants:
Linked BF Score: 0

 Description   

By either replacing the internals of oplogReader or its use, the find/getmore operations need to use command for the v1 protocol of replication in order to update liveliness information.



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

Author:

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

Message: SERVER-19307 background fetcher callback should not proceed if background sync is paused
Branch: master
https://github.com/mongodb/mongo/commit/a55dcfaa206c410778f6919dd4407bb940849443

Comment by Githook User [ 28/Jul/15 ]

Author:

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

Message: SERVER-19307 clean up strcpy in Ramlog and removed ErrorMsg
Branch: master
https://github.com/mongodb/mongo/commit/414bbb6dda658780f4b383a4d882529d646d140b

Comment by Githook User [ 28/Jul/15 ]

Author:

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

Message: SERVER-19307 updated BackgroundSync producer thread to tail remote oplog using Fetcher instead of OplogReader
Branch: master
https://github.com/mongodb/mongo/commit/fa4d622781c5d9162953397282bdad2882f1d484

Comment by Githook User [ 27/Jul/15 ]

Author:

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

Message: SERVER-19307 clean up strcpy in Ramlog and removed ErrorMsg
Branch: master
https://github.com/mongodb/mongo/commit/414bbb6dda658780f4b383a4d882529d646d140b

Comment by Githook User [ 21/Jul/15 ]

Author:

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

Message: SERVER-19307 updated BackgroundSync producer thread to tail remote oplog using Fetcher instead of OplogReader
Branch: master
https://github.com/mongodb/mongo/commit/fa4d622781c5d9162953397282bdad2882f1d484

Comment by Githook User [ 19/Jul/15 ]

Author:

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

Message: SERVER-19307 fixed crash in getMore downconversion - DBClientConnection::getMore() could return a null cursor
Branch: master
https://github.com/mongodb/mongo/commit/6cc4e9829c58f27226ca95a9be69df3c955204a9

Comment by Githook User [ 16/Jul/15 ]

Author:

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

Message: SERVER-19307 downconvert find/getMore based on wire protocol version
Branch: master
https://github.com/mongodb/mongo/commit/0254cdbc2d5f04188e45fe98dec1ca985e2ecf0c

Comment by Githook User [ 16/Jul/15 ]

Author:

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

Message: SERVER-19307 added rsStopGetMoreCmd fail point to make noPassthrough/server6733.js work with fetcher-based replication producer thread
Branch: master
https://github.com/mongodb/mongo/commit/518116041128c6e334806141c1e69a1221e8939a

Comment by Githook User [ 16/Jul/15 ]

Author:

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

Message: SERVER-19307 Collection::insertDocument should always notify capped collection listeners
Branch: master
https://github.com/mongodb/mongo/commit/1915268f23c038197e2420a9d6302d1d72b85ce4

Comment by Githook User [ 14/Jul/15 ]

Author:

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

Message: SERVER-19307 refactored BackgroundSync producer thread and rollback code.

This change supports the oplog reader to fetcher migration.
Branch: master
https://github.com/mongodb/mongo/commit/0a541ac95cb32c6e97c012e46f4a09e8f58ca4de

Comment by Githook User [ 13/Jul/15 ]

Author:

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

Message: SERVER-19307 SyncTail::tryPopAndWaitForMore should not consume buffered operations when rsSyncApplyStop fail point is enabled
Branch: master
https://github.com/mongodb/mongo/commit/95428be95d52697c04908b279a7efef8f4e41ec8

Comment by Githook User [ 13/Jul/15 ]

Author:

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

Message: SERVER-19307 converted OplogReader::tcp_timeout from int to Seconds
Branch: master
https://github.com/mongodb/mongo/commit/62ff4ee275f5a38abcc2bc7b400d4d185e89044d

Comment by Githook User [ 10/Jul/15 ]

Author:

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

Message: SERVER-19307 added elapsedMillis to fetcher QueryResponse
Branch: master
https://github.com/mongodb/mongo/commit/98fa36811312af8004dfa68197fa4c71e2409fd0

Comment by Githook User [ 09/Jul/15 ]

Author:

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

Message: SERVER-19307 fixed missing metadata in remote command response
Branch: master
https://github.com/mongodb/mongo/commit/cc2c70f5108b28155e7efa34061559c425578d72

Comment by Githook User [ 09/Jul/15 ]

Author:

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

Message: SERVER-19307 added 'first' to fetcher QueryResponse to indicate if the current response is for the initial command request
Branch: master
https://github.com/mongodb/mongo/commit/f316ff5af270da92c63f412c2238fa1e5b6e599d

Comment by Githook User [ 08/Jul/15 ]

Author:

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

Message: SERVER-19307 moved TimerStats into its own library
Branch: master
https://github.com/mongodb/mongo/commit/5eca5fe8106408b198c759443a2bb1ca320dad6c

Comment by Githook User [ 07/Jul/15 ]

Author:

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

Message: SERVER-19307 extended BackgroundSync producer thread to accept a task executor (from ReplicationCoordinatorImpl)
Branch: master
https://github.com/mongodb/mongo/commit/33a99b4662a17363074b8e2a5289acedadfbcc41

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