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

review use of "b" field in applyOps update operations in sharding_catalog_manager_chunk_operations.cpp

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • Sharding EMEA 2022-06-13

    Description

      Some of the chunk operations rely on the applyOps command. Some of the generated update operations still set the b field to enable upserts. Setting the b field has no effect unless the alwaysUpsert option is set to false; " We should review the use of the b field in this code and remove it/replace the update with an insert where it is appropriate.

      Attachments

        Activity

          People

            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: