[SERVER-17501] Increase journalling capacity limits Created: 06/Mar/15  Updated: 07/Jan/16  Resolved: 10/Mar/15

Status: Closed
Project: Core Server
Component/s: Concurrency, MMAPv1
Affects Version/s: None
Fix Version/s: 3.0.1, 3.1.0

Type: Improvement Priority: Critical - P2
Reporter: Alexander Komyagin Assignee: Geert Bosch
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
related to SERVER-22078 Remove term list limits for text inde... Closed
Backwards Compatibility: Minor Change
Backport Completed:
Participants:

 Description   
Issue Status as of Mar 10, 2015

ISSUE SUMMARY
On MongoDB with the MMAPv1 storage engine, the journalling subsystem warns about large updates exceeding 128MB for 32-bit systems and 256MB for 64-bit systems as follows:

warning assertion failure a <= 256*1024*1024 src/mongo/util/alignedbuilder.cpp

Concurrent operations updating large documents may exceed the maximum journalling capacity of 256MB for 32-bit systems and 512MB for 64-bit systems. When that limit is exceeded the server shuts down with a log message like the following:

Assertion failure a <= 512*1024*1024 src/mongo/util/alignedbuilder.cpp 

RESOLUTION DETAILS
MongoDB versions 3.0.1 and above increase the limits for the journalling capacity for 64-bit systems to warn at 512MB, and shut down at 2000MB with a message like the following:

I - [durability] error writing journal: too much uncommitted data (2098200576 bytes)
I - [durability] shutting down immediately to avoid corruption
I - [durability] Fatal Assertion 28614

The journalling capacity limits for 32-bit systems remain unchanged.

Original description

3.0 allows for much higher concurrency than 2.6, so the hardcoded journal limits of 256M for warning and 512M for crash should be increased.



 Comments   
Comment by Githook User [ 10/Mar/15 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}

Message: SERVER-17501: Raise limits for max journaling buffer size
Branch: v3.0
https://github.com/mongodb/mongo/commit/887a25d0b9f37337971567d75a28f7284f49cf49

Comment by Githook User [ 10/Mar/15 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}

Message: SERVER-17501: Raise limits for max journaling buffer size
Branch: master
https://github.com/mongodb/mongo/commit/eaa338b6668e0d7e1a9e1b7f20f04c2f33815d3c

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