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

Make blocking callbacks in migrationConflictHandler async

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      To provide a futurized replacement for migrationConflictHandler, we need to replace the following blocking callbacks with non-blocking counterparts:

      • checkIfCanReadOrBlock(opCtx, dbName)
      • checkIfCanWriteOrBlock(opCtx)

      The non-blocking counterparts will return Future<void> as the return value.

      Attachments

        Activity

          People

            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: