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

Frequent schema changes due to freeStorageSize limit FTDC retention

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 4.4.0
    • Fix Version/s: 4.8.0, 4.4.2
    • Component/s: Diagnostics
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4
    • Sprint:
      Execution Team 2020-10-05

      Description

      In SERVER-42037 we introduced a freeStorageSize metric that reports the amount of bytes available for reuse in the oplog table. But this value is only appended to serverStatus if it is non-zero, which creates frequent schema changes in the case where the oplog table has only a small amount of free space. In one test back-of-the-envelope calculation indicates this was cutting FTDC retention in half. The value should be included in serverStatus even if it's 0.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gregory.noma Gregory Noma
              Reporter:
              bruce.lucas Bruce Lucas
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: