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

mongos collStats does not handle large values for scale

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.0.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2021-05-17
    • 157

    Description

      The mongos collStats command parses large values for the scale option in a less robust manner compared to mongod collStats.

      On the mongod, the scale option is parsed using code generated from the StorageStatsSpec IDL definition, which uses the more forgiving BSONElement::safeNumberInt(). The IDL generated code used BSONElement::safeNumberInt() which is more forgiving of large values.

      Attachments

        Issue Links

          Activity

            People

              benety.goh@mongodb.com Benety Goh
              benety.goh@mongodb.com Benety Goh
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: