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

checkMetadataConsistency improperly access sharded coll info

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Sharding EMEA 2023-04-03

    Description

      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.

      Attachments

        Activity

          People

            pol.pinol@mongodb.com Pol Pinol
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: