[SERVER-20161] Change snapshot thread notification to CappedInserterNotifier Created: 27/Aug/15  Updated: 18/Nov/16  Resolved: 18/Nov/16

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

Type: Improvement Priority: Major - P3
Reporter: Scott Hernandez (Inactive) Assignee: Spencer Brody (Inactive)
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-20572 Investigate snapshot thread performan... Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

This removes contention on the newOptime mutex, and uses the common capped insert notifier (from collection) instead of requiring the snapshot thread be in the oplog cpp unit.

This is part of the ongoing performance work for writes and replication on the primary.



 Comments   
Comment by Githook User [ 22/Sep/15 ]

Author:

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

Message: SERVER-20572: revert snapshot thread using cappedInsertNotifier for performance evaluation (SERVER-20161)
Branch: master
https://github.com/mongodb/mongo/commit/9eeac28ad54382ddf3fa46dddbc704a36da7a5ac

Comment by Githook User [ 22/Sep/15 ]

Author:

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

Message: SERVER-20161: mutex must be declared first
Branch: master
https://github.com/mongodb/mongo/commit/e7135319261dbe267027e450b3a23ded1495575a

Comment by Githook User [ 22/Sep/15 ]

Author:

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

Message: SERVER-20161: move snapshot notification to capped collection notifier
Branch: master
https://github.com/mongodb/mongo/commit/87a5a53a3b3e6d6d30657a846434811da8ecee6c

Comment by Githook User [ 11/Sep/15 ]

Author:

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

Message: SERVER-20161: allow capped collection insert notifier to externally notified
Branch: master
https://github.com/mongodb/mongo/commit/e582523ba15d9fae2af2318e1f2c5e23f82c40ff

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