Attach the namespace as a ShardVersion field for testing

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • CAR Team 2025-12-22
    • 🟩 Routing and Topology
    • None
    • None
    • None
    • None
    • None
    • None

      We've encountered bugs caused by cases where the ShardVersion attached to a command does not match the command's namespace.

      To prevent these issues, we can include the namespace directly within the ShardVersion. This allows the shard role to perform a check verifying that the command's namespace exactly matches the namespace embedded in the ShardVersion.

      Our proposal is to apply this changes under the TestingProctor to run them only under testing to avoid degrading the performance of production code.

            Assignee:
            Igor Praznik
            Reporter:
            Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: