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

String-valued fields should not participate in schema change detection in ftdc

    • Fully Compatible
    • ALL
    • v4.0, v3.6, v3.4
    • Platforms 2018-08-27
    • 0

      There are various string-valued informational messages in serverStatus which may or may not be present depending on whether the condition they are informing about is present. If this presence of this field changes between samples this is detected by ftdc as a change in schema, causing a new chunk to be started. If this varies rapidly, e.g. every few seconds, then chunks are very short, causing a large decrease in compression efficiency, and therefore a decrease in ftdc retention. This is especially problematic because ftdc is likely to be important in diagnosing the issue.

      Since string-valued fields don't contribute to ftdc, there's no reason that a change in the presence of a string valued field should be considered a schema change.

            mark.benvenuto@mongodb.com Mark Benvenuto
            bruce.lucas@mongodb.com Bruce Lucas (Inactive)
            0 Vote for this issue
            7 Start watching this issue