refineCollectionShardKey behavior with passthrough suites

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • CAR Team 2025-02-03, CAR Team 2025-02-17, CAR Team 2025-03-03
    • 1
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      refineCollectionShardKey should create the same chunk and tag boundaries for the refined shard key as a collection being sharded on the same shard key. There are tests in refine_collection_shard_key_basic.js that verify this behavior. However, these tests fail in a few passthrough suites including, but not limited to,

      • embedded_router_jscore_passthrough
      • sharding_jscore_passthrough_with_auto_bootstrap
      • causally_consistent_jscore_passthrough

      For logs, please see this patch to turn the tests from refine_collection_shard_key_basic.js into core_sharding tests. Are these failures expected behavior in testing?

            Assignee:
            Daniel Gomez Ferro
            Reporter:
            Kruti Shah
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: