[SERVER-2506] reduce group commit latency Created: 09/Feb/11  Updated: 12/Jul/16  Resolved: 10/Aug/11

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

Type: Improvement Priority: Minor - P4
Reporter: Dwight Merriman Assignee: Dwight Merriman
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-2464 master slave inconsistencies when run... Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

several details to figure out. first some locking improvements, then need to assure don't use too much disk time solely on commits.



 Comments   
Comment by auto [ 20/Aug/11 ]

@tony - hopefully fixed now take a look

Author:

{u'login': u'dwight', u'name': u'dwight', u'email': u'dwight@10gen.com'}

Message: SERVER-2506 wasnt looping quite enough on journal commit checks
Branch: master
https://github.com/mongodb/mongo/commit/dfd532e631e1021af3b92e69ad83ce7cdec6e62e

Comment by Tony Hannan [ 19/Aug/11 ]

journalCommitInterval has been added to the docs. Also a small mention of faster commit when j:1 pending.

Comment by Tony Hannan [ 19/Aug/11 ]

@dwight, in db/dur.ccp line 717, the journalCommitInterval is broken into thirds but the loop only iterates twice resulting in a total delay of 2/3 of journalCommitInterval. Is this intended?

Comment by Dwight Merriman [ 10/Aug/11 ]

todo: document

Comment by auto [ 10/Aug/11 ]

Author:

{u'login': u'dwight', u'name': u'dwight', u'email': u'dwight@10gen.com'}

Message: SERVER-2506 journal faster if a j:1 pending
Branch: master
https://github.com/mongodb/mongo/commit/fcf1abff4017a9dc5652cdf6b0753d7609dbc096

Comment by auto [ 08/Aug/11 ]

Author:

{u'login': u'dwight', u'name': u'dwight', u'email': u'dwight@10gen.com'}

Message: SERVER-2506 configurable journal batch commit time
Branch: master
https://github.com/mongodb/mongo/commit/345793af4d3bd6b245bad444f5f2e46d6675d2e3

Comment by Dwight Merriman [ 18/Jul/11 ]

works but need to make it be smart about how often to commit

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