checkMetadataConsistency improperly access sharded coll info

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Sharding EMEA 2023-04-03
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When redacting a UUIDMismatchInconsistency we also attach the information weather the shard thinks the collection is sharded. This information is wrong an it will always be false. In fact it is taken from a CollectionPtr that is constructed using the default constructor that doesn't set the internal CollectionPtr::_shardKeyPattern.

            Assignee:
            Pol Pinol
            Reporter:
            Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: