Frequent schema changes due to freeStorageSize limit FTDC retention

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.8.0, 4.4.2
    • Affects Version/s: 4.4.0
    • Component/s: Diagnostics
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Execution Team 2020-10-05
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Gregory Noma
              Reporter:
              Bruce Lucas (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: