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

Check the shard version for collections when AutoGetCollection is instantiated

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • Sharding EMEA 2022-03-21, Sharding EMEA 2022-04-04
    • 166

    Description

      As a prerequisite to push the CollectionShardingState to the Storage Catalog, when the collection locks are acquired (AutoGetCollection class), the shard version attached to the operation context must be consistent with the information stored in the local metadata.

      The goal of this task is to validate the shard version (checkShardVersionOrThrow) when the passed namespace corresponds to a collection in the local catalog.

      Attachments

        Activity

          People

            antonio.fuschetto@mongodb.com Antonio Fuschetto
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: