[SERVER-21257] Test intrastructure shouldn't add --nojournal to config servers even in nojournal suite Created: 30/Oct/15  Updated: 25/Jan/17  Resolved: 03/Nov/15

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

Type: Bug Priority: Major - P3
Reporter: Geert Bosch Assignee: Spencer Brody (Inactive)
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: Sharding C (11/20/15)
Participants:

 Description   

Found by failure of autodiscover_config_rs_from_secondary.js in evergreen.

https://evergreen.mongodb.com/task/mongodb_mongo_master_linux_64_duroff_sharding_79aa65b0f2abbb965dda5d516d0ffe52f15abd02_15_10_30_14_10_33
https://evergreen.mongodb.com/task/mongodb_mongo_master_linux_64_duroff_sharding_auth_79aa65b0f2abbb965dda5d516d0ffe52f15abd02_15_10_30_14_10_33
from log:

js_test:autodiscover_config_rs_from_secondary] 2015-10-30T17:03:43.489+0000 c20760| 2015-10-30T17:03:43.489+0000 F CONTROL [main] Failed global initialization: BadValue nojournal is not allowed when configsvr is specified



 Comments   
Comment by Githook User [ 03/Nov/15 ]

Author:

{u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}

Message: SERVER-21257 Don't add --nojournal to config servers in nojournal suite
Branch: master
https://github.com/mongodb/mongo/commit/c70a6e15e3e823c2ba4e6e81b438967682f0c6ab

Comment by Max Hirschhorn [ 02/Nov/15 ]

kaloian.manassiev, SERVER-20828 made it so we already do this in ShardingTest. Looking at the autodiscover_config_rs_from_secondary.js test, we may want to add a similar change to ReplSetTest to supply {journal: ""} automatically if the nodeOptions parameter specifies {configsvr: ""}.

Comment by Kaloian Manassiev [ 02/Nov/15 ]

This is a new test, which was recently added. Most likely we should change ShardingTest to never start CSRS config servers without the --nojournal flag and also document this restriction that we don't allow config servers to run without --nojournal.

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