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

Address tests that drop hashed shard key index on sharded_collections_jscore_passthrough_with_config_transitions

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

      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@mongodb.com Jason Zhang
            Reporter:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: