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

Extracting forceJumbo from docs in config.migrations in MigrationType::fromBSON can throw

    • Fully Compatible
    • ALL
    • Sharding 2020-09-21, Sharding 2020-10-05

      A new field 'forceJumbo' was added to docs in config.migraitons in v4.4. In MigrationType::fromBSON, we attempt to extract this field from a BSONObj which will throw NoSuchKey if the field does not exist. We should prevent the server from throwing if the field does not exist and instead use the default value 'doNotForceJumbo'.

            Assignee:
            janna.golden@mongodb.com Janna Golden
            Reporter:
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: