Revisit cmdObj creation in _clusterWriteWithoutShardKey and remove object if unnecessary.

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Sharding NYC 2022-11-14, Sharding NYC 2023-02-20
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Jason Zhang (Inactive)
            Reporter:
            Sanika Phanse (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: