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

Frequent schema changes in mongos ftdc metrics limits retention period

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.2.4, 4.3.3
    • Affects Version/s: 4.2.0
    • Component/s: Diagnostics, Sharding
    • None
    • Fully Compatible
    • ALL
    • v4.2
    • Service Arch 2020-01-13, Service Arch 2020-01-27

      The schema for metrics under connPoolStats.connectionsInUsePerPool.NetworkInterfaceTL-TaskExecutorPool-0 changes frequently as it appears that hosts in that tree are emitted in an order that changes every couple of samples, and hosts come and go frequently from the metrics. These frequent schema changes greatly reduce compression efficiency, limiting the retention period - as short as 15 hours in one case. The schema for this subtree should be monotonic and consistent from one sample to the next.

        1. repro.sh
          3 kB
          Bruce Lucas

            Assignee:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Reporter:
            bruce.lucas@mongodb.com Bruce Lucas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: