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

Revert support for `fromMigrate` in batched delete stage

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • CAR Team 2023-11-27

    Description

      The support for fromMigrate in the batched deletes (introduced with SERVER-77543) is no longer required.

      The idea was to use batched delete in the range deleter, but after some testing we highlighted that this would increase latency causing an impact on the user's workload (see SERVER-66279).

      Additionally, this logic assumes the documents will not change during the migration, and it is not necessary to ensure they still match before deleting. There is concern this assumption is not valid, as users can connect directly to the shard.

      Attachments

        Activity

          People

            antonio.fuschetto@mongodb.com Antonio Fuschetto
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: