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

Invariants in ReshardingMetrics don't account for how recipients can error during resharding

    • Fully Compatible
    • ALL
    • Sharding 2021-04-05
    • 163
    • 1

      It is possible for recipients to be in RecipientStateEnum::kError while documents are being copied, oplog entries are being fetched, and oplog entries are being applied. This is because the RecipientStateMachine will transition to kError as soon as any data replication component encounters an operation-fatal error. The data replication components will be shut down after the RecipientStateMachine transitions to kError.

      should all be updated to include RecipientStateEnum::kError as well.

            Assignee:
            lamont.nelson@mongodb.com Lamont Nelson
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: