[SERVER-79813] [SPIKE] Write Op batching and shard targeting code walkthrough Created: 08/Aug/23  Updated: 29/Nov/23  Resolved: 29/Nov/23

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

Type: Task Priority: Major - P3
Reporter: Abdul Qadeer Assignee: Rachita Dhawan
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

The goal of this spike is to learn how a write op batching and shard targeting is done in write_op.h and batch_write_op.h and to find out more about their lifecycle as it pertains to an update op which in bulk_write_exec.h. After this spike one should be able to answer questions like the following:

  1. What is the life cycle of a WriteOp?
  2. How is writeOps batching done at mongos?
  3. How are unordered and ordered ops in batches handled?
  4. What happens to a batch if one write fails?
  5. How is a batch of updateOnes handled?
  6. Does any of the two files need any significant modification for PM-3190 implementation?

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