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

Consider shortening the names of bulkWrite arguments

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Replication

      • insert to i
      • update to u
      • delete to d
      • filter to q
      • document to doc
      • updateMods to mods

      I think this is a good starting point to match existing insert/update/delete. After this change, we can do performance tests for some representative workloads before investing more in arguments space optimization.

      Note that if we do shorten the names, we'll need to make sure to update the op size calculation logic on mongos added in SERVER-73536 since that will currently rely on the original argument names. (Edit: That logic was all written using the k____FieldName constants and so it should work even if the names change.)

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            lingzhi.deng@mongodb.com Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: