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

Add flush time logging on per file basis as well

    • Type: Icon: Improvement Improvement
    • Resolution: Incomplete
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Storage Execution

      It would be useful to have following per file based flush time:

      • In non-verbose mode, log for flush latency beyond threshold for each file
      • In verbose mode, log for flush latency irrespective of threshold for each file
      • In verbose mode, log for overall flush latency irrespective of threshold.

      I believe the overall threshold currently is set to 10000ms, I would ideally assume if individual files are beyond the weighted average of their respective size w.r.t global threshold, it should log it.

      Since, this is only every 60 seconds and should have minimal impact, first higher verbosity level above the default logging level should be good for logging such information or if you have any specific suggestion that should be fine.

      This level of detail might be useful depending on if files are spread across mount/symlinks or on other devices. If it is taking a long time to flush files it might help to know which dbs/files are having issues.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            anil.kumar Anil Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: