Split and Merge commands need to refresh filtering metadata before checking preconditions

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.1.0-rc1, 6.2.0-rc0
    • Affects Version/s: 6.1.0-rc1, 6.2.0-rc0
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v6.1
    • Sharding EMEA 2022-09-05
    • 35
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      As part of SERVER-68485, we stopped sending the shard version in split and merge commands and instead checked the preconditions of the commands outside of the shard versioning protocol (similar to what is done in move chunks). However, if the filtering information is stale, the StaleConfigInfo will contain ShardVersion::IGNORED and the shard will not refresh, even if the shard is actually staler than the router.
      One way to solve this would be to add a call to onShardVersionMismatch before the metadata checks in split and merge, similar to what is done in move chunk.

            Assignee:
            Allison Easton
            Reporter:
            Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: