Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-97363

refineCollectionShardKey behavior with passthrough suites

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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
    • 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.gomezferro@mongodb.com Daniel Gomez Ferro
            Reporter:
            kruti.shah@mongodb.com Kruti Shah
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: