[SERVER-71019] Remove usage of MONGO_WEAK_FUNCTION for write_stage_common::isRetryableWrite Created: 02/Nov/22  Updated: 29/Oct/23  Resolved: 10/Feb/23

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 7.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Daniel Gomez Ferro Assignee: Benety Goh
Resolution: Fixed Votes: 0
Labels: techdebt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-71018 Break dependency between lib transact... Closed
Assigned Teams:
Storage Execution
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2023-02-20
Participants:

 Description   

We use the MONGO_WEAK_FUNCTION macros to implement write_stage_common::isRetryableWrite in transaction_participant.cpp, since we couldn't add a hard dependency between libquery_exec and libtransaction.

Once SERVER-71018 gets resolved we could remove this usage.



 Comments   
Comment by Githook User [ 10/Feb/23 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-71019 add ReplicationCoordinator::isRetryableWrite()
Branch: master
https://github.com/mongodb/mongo/commit/5300decfd223ba6cf5766faafe0603ee1ca6961d

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