[SERVER-7430] Warning about smallfiles should include filename Created: 19/Oct/12  Updated: 11/Jul/16  Resolved: 13/Mar/13

Status: Closed
Project: Core Server
Component/s: Logging, Storage
Affects Version/s: 2.0.7, 2.2.0
Fix Version/s: 2.5.0

Type: Improvement Priority: Minor - P4
Reporter: Tad Marshall Assignee: A. Jesse Jiryu Davis
Resolution: Done Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Participants:

 Description   

If a database that was created by a mongod running with --smallfiles is later opened by a mongod running without --smallfiles, an "info" message is logged for each data file smaller than 64 MB. The message shows the size but not the filename. It would make the message more useful if it included the filename; this way, someone reading the log would know what database triggered the message.

Fri Oct 19 16:01:13 [conn1] info openExisting file size 16777216 but cmdLine.smallfiles=false
Fri Oct 19 16:01:13 [conn1] info openExisting file size 33554432 but cmdLine.smallfiles=false



 Comments   
Comment by auto [ 18/Mar/13 ]

Author:

{u'date': u'2013-03-16T20:47:01Z', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@10gen.com'}

Message: More reliable test for SERVER-7430

Signed-off-by: Ian Whalen <ian.whalen@gmail.com>
Branch: master
https://github.com/mongodb/mongo/commit/c481eb4987035fe894fa0c9c8d82d3a24c2421ac

Comment by auto [ 13/Mar/13 ]

Author:

{u'date': u'2013-03-13T18:04:57Z', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@10gen.com'}

Message: Disable test on 32-bit builds SERVER-7430

Signed-off-by: Ian Whalen <ian.whalen@gmail.com>
Branch: master
https://github.com/mongodb/mongo/commit/1039ebd0cb0fec11a60260a2257bd2e74604fbf6

Comment by Ian Whalen (Inactive) [ 13/Mar/13 ]

this commit broke http://buildlogs.mongodb.org/Nightly%20Linux%2032-bit/builds/1259/test/disk/filesize.js

Comment by auto [ 13/Mar/13 ]

Author:

{u'date': u'2013-03-12T19:26:21Z', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@10gen.com'}

Message: Include filename in warning about smallfiles SERVER-7430

Log message is like "info openExisting file size 16777216 but cmdLine.smallfiles=false: /data/db/filesize/dbname.0"

Signed-off-by: Ian Whalen <ian.whalen@gmail.com>
Branch: master
https://github.com/mongodb/mongo/commit/ea0e9f0ae192b23c6855afa18a8868c4dfb3d64c

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