[SERVER-76655] Consider shortening the names of bulkWrite arguments Created: 28/Apr/23  Updated: 11/Dec/23  Resolved: 10/Nov/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Lingzhi Deng Assignee: Backlog - Replication Team
Resolution: Duplicate Votes: 0
Labels: milestone-1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-83142 Complete TODO listed in SERVER-76655 Closed
Assigned Teams:
Replication
Participants:

 Description   
  • 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.)



 Comments   
Comment by Sean Zimmerman [ 10/Nov/23 ]

Covering this under other syntax changes 

Generated at Thu Feb 08 06:33:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.