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

mongos collStats does not handle large values for scale

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2021-05-17
    • 157

      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.

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

              Created:
              Updated:
              Resolved: