[SERVER-20828] ShardingTest and resmoke.py should not pass --nojournal when --configsvr is specified Created: 08/Oct/15  Updated: 15/Oct/15  Resolved: 08/Oct/15

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.2.0-rc0

Type: Bug Priority: Critical - P2
Reporter: Max Hirschhorn Assignee: Max Hirschhorn
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: QuInt A (10/12/15)
Participants:

 Description   

Task
Logs

Failed on the Linux (No Journal) build variant because it passes --nojournal to resmoke.py, which will pass --nojournal to all started mongod processes:

[ShardedClusterFixture:job0:configsvr:primary] Starting mongod on port 20000...
./mongod --setParameter enableTestCommands=1 --dbpath /data/db/job0/resmoke/config/node0 --replSet config-rs --nojournal --nopreallocj --storageEngine wiredTiger --configsvr --port 20000
[ShardedClusterFixture:job0:configsvr:primary] mongod started on port 20000 with pid 13273.
[ShardedClusterFixture:job0:configsvr:secondary0] Starting mongod on port 20001...
./mongod --setParameter enableTestCommands=1 --dbpath /data/db/job0/resmoke/config/node1 --replSet config-rs --nojournal --nopreallocj --storageEngine wiredTiger --configsvr --port 20001
[ShardedClusterFixture:job0:configsvr:secondary0] mongod started on port 20001 with pid 13276.
[ShardedClusterFixture:job0:configsvr:secondary1] Starting mongod on port 20002...
./mongod --setParameter enableTestCommands=1 --dbpath /data/db/job0/resmoke/config/node2 --replSet config-rs --nojournal --nopreallocj --storageEngine wiredTiger --configsvr --port 20002
[ShardedClusterFixture:job0:configsvr:secondary1] mongod started on port 20002 with pid 13279.
[ShardedClusterFixture:job0:configsvr:primary] 2015-10-08T18:10:02.568+0000 F CONTROL  [main] Failed global initialization: BadValue nojournal is not allowed when configsvr is specified
[ShardedClusterFixture:job0:configsvr:secondary0] 2015-10-08T18:10:02.574+0000 F CONTROL  [main] Failed global initialization: BadValue nojournal is not allowed when configsvr is specified
[ShardedClusterFixture:job0:configsvr:secondary1] 2015-10-08T18:10:02.577+0000 F CONTROL  [main] Failed global initialization: BadValue nojournal is not allowed when configsvr is specified


Necessary after 0eccf941d808bdf0b2dcf73398ca69e03f0b3065.



 Comments   
Comment by Githook User [ 08/Oct/15 ]

Author:

{u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}

Message: SERVER-20828 Always enable journaling for config servers in tests.

Change ShardingTest and resmoke.py to pass --journal if --configsvr is
specified.
Branch: master
https://github.com/mongodb/mongo/commit/12ae3ef9a65c7078499586eeb53adbe89dc18f7b

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