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

XMLWordPrintableJSON

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

      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
            Reporter:
            Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: