[SERVER-20992] Failed global initialization error for commitIntervalMs in mongo.conf Created: 18/Oct/15  Updated: 27/Oct/15  Resolved: 21/Oct/15

Status: Closed
Project: Core Server
Component/s: Admin
Affects Version/s: 3.2.0-rc0
Fix Version/s: 3.2.0-rc1

Type: Bug Priority: Major - P3
Reporter: Mark Callaghan Assignee: Geert Bosch
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-21017 Add testing for config file parsing Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: QuInt B (11/02/15)
Participants:

 Description   

I get this error at startup:

2015-10-17T18:27:31.995-0700 F CONTROL  [main] Failed global initialization: Location17114 failed to extract typed value from Value container: TypeMismatch Attempting to get Value as type: Int, but Value is of type: Unsigned

With this command line:

numactl --interleave=all bin/mongod --config mongo.conf --master --storageEngine wiredTiger

And this mongo.conf:

processManagement:
  fork: true
systemLog:
  destination: file
  path: /home/mdcallag/b/m320/log
  logAppend: true
storage:
  syncPeriodSecs: 600
  dbPath: /home/mdcallag/b/m320/data
  journal:
    enabled: true
    commitIntervalMs: 200

The error goes away when commitIntervalMs is removed. I have tried different values from 50 to 200 and still get the error.

I compiled mongod with WiredTiger and RocksDB.



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

Author:

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

Message: SERVER-20992: Fix type error in configuration argument
Branch: master
https://github.com/mongodb/mongo/commit/fff3d002adab9f3b68c38ee80805bb171705de45

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