[SERVER-57455] Do not maintain two versions of the same retryable write pre-fetch pipeline in two languages. Created: 04/Jun/21  Updated: 29/Oct/23  Resolved: 11/Jun/21

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 5.0.0-rc2, 5.1.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Wenbin Zhu Assignee: Wenbin Zhu
Resolution: Fixed Votes: 0
Labels: pm-1791_non-cloud-blocking
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: Repl 2021-06-14
Participants:

 Description   

Currently, we maintain two versions of the retryable write pre-fetch pipeline, one is in c++ code for production and another one in javascript for testing. We should only need to maintain one copy and maybe we can modify the javascript test to query the oplog buffer to make sure the correct entries are in there.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 11/Jun/21 ]

Author:

{'name': 'Wenbin Zhu', 'email': 'wenbin.zhu@mongodb.com', 'username': 'WenbinZhu'}

Message: SERVER-57455 Do not keep an extra copy of the retryable write pre-fetch pipeline.

(cherry picked from commit 24920b095706001b589de22df744d4f18d0123a5)
Branch: v5.0
https://github.com/mongodb/mongo/commit/e77da523729b0ba69bf5069139beee29662c103a

Comment by Githook User [ 11/Jun/21 ]

Author:

{'name': 'Wenbin Zhu', 'email': 'wenbin.zhu@mongodb.com', 'username': 'WenbinZhu'}

Message: SERVER-57455 Do not keep an extra copy of the retryable write pre-fetch pipeline.
Branch: master
https://github.com/mongodb/mongo/commit/24920b095706001b589de22df744d4f18d0123a5

Comment by Lingzhi Deng [ 07/Jun/21 ]

The jstest was added as a POC of the aggregation pipeline. I think we can just remove the jstest. And I think we should have enough test coverages for the pipeline.

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