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

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • Sharding EMEA 2022-06-13

      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.

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

              Created:
              Updated:
              Resolved: