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

Refine shard key concurrency workloads ignore more moveChunk errors than intended

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4
    • Sprint:
      Sharding 2020-05-04

      Description

      The fsm workload random_moveChunk_refine_collection_shard_key.js and the two workoads that inherit from it allow migrations to fail with certain acceptable errors, but this check that a failed migration's error message contains a certain string is missing a > -1, which leads to a truthy value when the string is not present, leading the workloads to ignore more errors than was intended. This check should be fixed and any acceptable errors implicitly ignored because of this behavior should instead be explicitly ignored.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gregory.noma Gregory Noma
              Reporter:
              jack.mulrow Jack Mulrow
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: