Make ShardCollectionType not use strict parsing

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Sharding
    • Fully Compatible
    • Sharding 2020-11-02, Sharding 2020-11-16, Sharding 2020-11-30
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, the IDL parser for ShardCollectionType doesn't specify {strict:false}, which means it explicitly performs strict parsing. This makes it impossible to add new fields to that structure.

      As part of this ticket we should do the following:

      • Add {strict:false}
      • Add an FCV 5.0 -> 4.4 downgrade step on the shards, which clears any newly added fields (e.g., SERVER-50027) from config.cache.collections so that 4.4 binaries can parse them.

              Assignee:
              Sergi Mateo Bellido
              Reporter:
              Kaloian Manassiev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: