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

Log the db sizes soon after startup, in an INFO line.

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Logging
    • None
    • Storage Execution
    • Fully Compatible

    Description

      I thought it would be nice if the logs included db sizes when it's a log rotate, or a restart. (But not a first-time start, when the sizes would just be zero.)

      E.g.

      <timestamp> I STORAGE?CONTROL?  [<threadname>] current db sizes: admin 146249812 (0.14GB), local 248824000000 (240GB), epectmth 1425934976820 (1.35TB), epectd 7658893915420 (0.85TB)
      

      If there's a good time to run a listDatabases command at some point early enough this line is likely to appear in the first screen whilst looking at the log file in an editor (i.e. in the first 40 ~ 60 lines) I think this would be pretty valuable for analysis.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            akira.kurogane Akira Kurogane
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: