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

Revert support for `fromMigrate` in batched delete stage

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • CAR Team 2023-11-27

      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.

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

              Created:
              Updated:
              Resolved: