Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(14492)

Issue 97370044: Added explicit --journal flag to mongod

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 11 months ago by hduran
Modified:
9 years, 11 months ago
Reviewers:
wwitzel3, mp+219567, fwereade
Visibility:
Public.

Description

Added explicit --journal flag to mongod Mongod has Write Ahead logging on by default for 64 bits systems: http://docs.mongodb.org/manual/tutorial/manage-journaling/ juju seems to be assuming this for every arch so the specific --journal flag was added. https://code.launchpad.net/~hduran-8/juju-core/add_mongodb_wal/+merge/219567 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Added explicit --jouran flag to mongod #

Patch Set 3 : Added explicit --journal flag to mongod #

Total comments: 2

Patch Set 4 : Added explicit --journal flag to mongod #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -0 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M agent/mongo/mongo.go View 2 chunks +2 lines, -0 lines 0 comments Download
M agent/mongo/mongo_test.go View 1 2 3 1 chunk +23 lines, -0 lines 0 comments Download

Messages

Total messages: 9
hduran
Please take a look.
9 years, 11 months ago (2014-05-14 18:50:35 UTC) #1
wwitzel3
LGTM assuming the existing tests exercise the changed code paths.
9 years, 11 months ago (2014-05-14 19:08:07 UTC) #2
fwereade
NOT LGTM without a test. We're invoking it differently, something should have failed and needed ...
9 years, 11 months ago (2014-05-15 09:46:37 UTC) #3
hduran
On 2014/05/15 09:46:37, fwereade wrote: > NOT LGTM without a test. We're invoking it differently, ...
9 years, 11 months ago (2014-05-15 10:24:12 UTC) #4
fwereade
On 2014/05/15 10:24:12, hduran wrote: > On 2014/05/15 09:46:37, fwereade wrote: > > NOT LGTM ...
9 years, 11 months ago (2014-05-16 08:31:23 UTC) #5
hduran
Please take a look.
9 years, 11 months ago (2014-05-16 14:37:18 UTC) #6
fwereade
LGTM with trivials https://codereview.appspot.com/97370044/diff/30001/agent/mongo/mongo_test.go File agent/mongo/mongo_test.go (right): https://codereview.appspot.com/97370044/diff/30001/agent/mongo/mongo_test.go#newcode231 agent/mongo/mongo_test.go:231: c.Assert(strings.Contains(svc.Cmd, "--journal"), jc.IsTrue) just for pedantry's ...
9 years, 11 months ago (2014-05-16 21:01:18 UTC) #7
hduran
Please take a look.
9 years, 11 months ago (2014-05-19 01:37:31 UTC) #8
fwereade
9 years, 11 months ago (2014-05-19 07:30:15 UTC) #9
Still LGTM; if I LGTM-with-requests it means I trust you to make the changes
sanely and land them.

You *should* always feel free to request a new review, but I don't think you
really needed one here :).
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b