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

lastCommittedTransaction section causes frequent schema changes that limit FTDC retention

    XMLWordPrintable

Details

    • Fully Compatible
    • ALL
    • v4.4, v4.2, v4.0
    • Repl 2021-01-11

    Description

      serverStatus.transactions.lastCommittedTransaction.writeConcern records the write concern of the last committed transaction. This subdocument does not have a fixed schema: it may be empty or not, and the w field may be either a string or a number. This causes frequent schema changes for FTDC, and that can severely limit FTDC retention.

      A record of the last committed transaction has limited diagnostic value, so the best solution may be to omit the entire lastCommittedTransaction section from FTDC.

      Attachments

        Issue Links

          Activity

            People

              jason.chan@mongodb.com Jason Chan
              bruce.lucas@mongodb.com Bruce Lucas
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: