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

Check the shard version when AutoGetCollection is instantiated and there is neither collection nor view

    • Fully Compatible
    • Sharding EMEA 2022-04-04, Sharding EMEA 2022-04-18

      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 ensure there is no shard version attached to the request when the passed namespace does not correspond to neither a collection nor a view.

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

              Created:
              Updated:
              Resolved: