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

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • ALL
    • 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 to avoid any unnecessary refreshes.

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

              Created:
              Updated: