Address tests that drop hashed shard key index on sharded_collections_jscore_passthrough_with_config_transitions

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      sharded_collections_jscore_passthrough_with_config_transitions transitions from/to config shard and dedicated config server. Transitioning from a config shard requires draining that shard. If there are sharded collections, this requires moving the chunks away from that shard.

      There are at least 85 tests under jstests/core that issue dropIndexes('*'), which since SERVER-78253 also drops the hashed shard key index. This prevents chunk migrations from succeeding, so the shard drain fails, which causes the config transitions to fail.

            Assignee:
            Jason Zhang (Inactive)
            Reporter:
            Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: