[SERVER-46283] Implement command mirroring for update Created: 20/Feb/20  Updated: 29/Oct/23  Resolved: 27/Feb/20

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

Type: New Feature Priority: Major - P3
Reporter: Benjamin Caimano (Inactive) Assignee: Amirsaman Memaripour
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2020-02-24
Participants:

 Description   

update commands can have multiple batches, thus they are not trivial to convert into read commands. We should implement a naive version where we only mirror a find on the first batch.



 Comments   
Comment by Githook User [ 27/Feb/20 ]

Author:

{'username': 'samanca', 'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com'}

Message: SERVER-46283 Implement command mirroring for update
Branch: master
https://github.com/mongodb/mongo/commit/adbd693250a37553f7b560a62700d0162e67be77

Comment by Amirsaman Memaripour [ 20/Feb/20 ]

Based on a discussion with ben.caimano, this ticket extract the following from an update to construct a series of find commands:

  • collection
  • query, collation, and hint for each update statement
Generated at Thu Feb 08 05:11:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.