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

XMLWordPrintableJSON

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

      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
              Reporter:
              Janna Golden
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: