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

Add CRUD ops and moveChunk concurrency testing for refineCollectionShardKey

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2019-08-26, Sharding 2019-09-09, Sharding 2019-09-23, Sharding 2019-10-07, Sharding 2019-10-21

      Concurrency tests for refining a collection shard key should be added to verify a refine atomically takes effect and does not interfere with concurrent chunk operations.

      In particular, workloads should be added that:

      1. Repeatedly refine a collections shard key with concurrent CRUD ops, verifying the ops always return the expected results
      2. Repeatedly refines a shard key with concurrent chunk operations (moveChunks, splitChunks, and mergeChunks) in addition to concurrent CRUD ops.

      In addition to the default concurrency suites, these workloads should run in suites with the balancer enabled and failovers. It should be verified that the balancer will actually attempt to move chunks, possibly enforced by inserting enough data to imbalance the cluster, beginning with lopsided zones, and/or adding fsm stages that explicitly wait for a balancer round.

            Assignee:
            blake.oler@mongodb.com Blake Oler
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: