Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-7430

Warning about smallfiles should include filename

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.5.0
    • Affects Version/s: 2.0.7, 2.2.0
    • Component/s: Logging, Storage
    • Labels:
    • Fully Compatible

      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
      

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            tad Tad Marshall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: