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

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

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Logging
    • Labels:
      None
    • Backwards Compatibility:
      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

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

              Dates

              Created:
              Updated:
              Resolved: