Skip placement version bumps during coordinator state transitions when config.collections writes are no-ops

XMLWordPrintableJSON

    • Cluster Scalability
    • Fully Compatible
    • ALL
    • ClusterScalability 22Jun-6Jul
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-125672 gated the coordinator’s legacy reshardingFields writes on the no-refresh path because participants learn about resharding through explicit commands instead of shard-version refreshes on config.collections. However, coordinator state transitions still go through writeStateTransitionAndCatalogUpdatesThenBumpCollectionPlacementVersions, which bumps placement versions for the source namespace and the temp resharding namespace while running the metadata updates. 

      We should skip these placement version bumps for non-committing coordinator transitions when the config.collections writes are effectively no-ops.

            Assignee:
            Kruti Shah
            Reporter:
            Kruti Shah
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: