BulkWriteCrudOp has confusing name to access the nsIndex

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • QE 2025-05-26
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 0

      https://github.com/mongodb/mongo/blob/cdeaaed41d92487a9aa2f679e581e2b8b7b5c1dd/src/mongo/db/commands/query_cmd/bulk_write.idl#L78 you call getUpdate() instead of getNsIndex which is confusing cause it looks like its going to return the filter or a updateRef or something. also each op type has a different accessor for the same info

            Assignee:
            Mickey Winters
            Reporter:
            Mickey Winters
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: