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

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.3 Desired
    • Component/s: Sharding
    • Labels:

      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

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-sharding Backlog - Sharding Team
              Reporter:
              benety.goh Benety Goh
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: