[SERVER-2745] make --journal the correct way to enable journaling Created: 11/Mar/11  Updated: 12/Jul/16  Resolved: 11/Mar/11

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

Type: Improvement Priority: Major - P3
Reporter: Eliot Horowitz (Inactive) Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

rather than --dur



 Comments   
Comment by auto [ 16/Mar/11 ]

Author:

{u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: fix SERVER-2745
https://github.com/mongodb/mongo/commit/f1488a594f190b77d1e4d5e13a18ef6feb43b789

Comment by auto [ 16/Mar/11 ]

Author:

{u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: test for SERVER-2745
https://github.com/mongodb/mongo/commit/4d10d2228501500ed661d0690dadb7e60d3072fb

Comment by Eliot Horowitz (Inactive) [ 16/Mar/11 ]

@nathan, good catch

Comment by auto [ 16/Mar/11 ]

Author:

{u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: fix SERVER-2745
https://github.com/mongodb/mongo/commit/3c0b1c8e6d679f83e6a7b6e19a3f8f3df1432235

Comment by Nathan Ehresman [ 15/Mar/11 ]

I notice in the diff:

+ if (params.count("journalOptions"))

{ + cmdLine.durOptions = params["durOptions"].as<int>(); + }

Double checking to make sure that it is intentional to set cmdLine.durOptions from params["durOptions"]. Would you not want to do this instead:

cmdLine.durOptions = params["journalOptions"].as<int>();

Comment by auto [ 11/Mar/11 ]

Author:

{u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: --journal SERVER-2745 180
https://github.com/mongodb/mongo/commit/e89833c5d2e2a563e3f6cfe1ecb30edef646a95f

Comment by auto [ 11/Mar/11 ]

Author:

{u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: --journal SERVER-2745 180
https://github.com/mongodb/mongo/commit/05166dadcd40e320e56ba2dd3cb3f5889c435a5f

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