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

Frequent schema changes due to freeStorageSize limit FTDC retention

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Gregory Noma
            Reporter:
            bruce.lucas@mongodb.com Bruce Lucas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: