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

ReshardingDataReplication may still emplace _consistentButStale more than once

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.0.0-rc0
    • Sharding
    • Fully Compatible
    • ALL
    • Sharding 2021-04-19
    • 155
    • 1

    Description

      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).

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: