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

Add index version checks to versioning protocol

    • Fully Compatible
    • Sharding EMEA 2022-10-03, Sharding EMEA 2022-10-17, Sharding EMEA 2022-10-31, Sharding EMEA 2022-11-14, Sharding EMEA 2022-11-28, Sharding EMEA 2022-12-12, Sharding EMEA 2022-12-26, Sharding EMEA 2023-01-23, Sharding EMEA 2023-02-06

      As part of the shard versioning protocol, we check if the shard version received is compatible with the current shard version of the shard we must also add the check for the index version component and add to the StaleConfigInfo information the received and wanted index version, so the caller can know if needs to:

      • Do a refresh on the collection and chunks metadata
      • Do a refresh on the index metadata
      • Refresh both

      We should also add checks to the service entry point and the scoped operation completion actions to prevent retrying after running onCollectionPlacementVersionMismatch if the index version is stale.

            Assignee:
            allison.easton@mongodb.com Allison Easton
            Reporter:
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: