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

ReshardingDataReplication may still emplace _consistentButStale more than once

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
    • Fully Compatible
    • ALL
    • Sharding 2021-04-19
    • 155
    • 1

      The changes from c8e74f9 as part of SERVER-55723 were insufficient. An issue remains that this part of the future chain isn't being joined by the whenAll() / whenAllSettledOn() which comes later in the future chain. It is also possibe for chainCtx->oplogApplierConsistentButStaleFutures and chainCtx->oplogApplierStrictlyConsistentFutures to be reassigned while the whenAllSettledOn() are attempting to wait on them (read: data race).

            Assignee:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: