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

Revisit cmdObj creation in _clusterWriteWithoutShardKey and remove object if unnecessary.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Won't Fix
    • None
    • None
    • None
    • Sharding NYC 2022-11-14, Sharding NYC 2023-02-20

    Description

      In the function `_createCmdObj` an extra command object is made such that $db can be appended and some fields are removed.

      Toy with unsetting the fields using the requestBuilder instead and reevaluate if setting $db is necessary. It might not be if it is always appended by update/delete/findAndModify commands or the transaction api before it is passed to  _cluster(Query/Write)WithoutShardKey.

      Attachments

        Activity

          People

            jason.zhang@mongodb.com Jason Zhang
            sanika.phanse@mongodb.com Sanika Phanse
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: