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

Avoid querying previous config.placementHistory documents when inserting new ones

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0, 7.0.0-rc1
    • None
    • None
    • None
    • Fully Compatible
    • v7.0
    • Sharding EMEA 2023-05-01

    Description

      While most DDLs just insert new document into config.placementHistory as part of their commit, moveChunk and renameCollection perform first a lookup into the same collection to retrieve the latest placement information and build a new document on top of it.

      If such behaviour were removed, it could be possible to perform arbitrary trimming of the config.placementHistory log without the need to block any DDL.

      Attachments

        Activity

          People

            paolo.polato@mongodb.com Paolo Polato
            paolo.polato@mongodb.com Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: