[SERVER-71086] Refactor async_rpc hedging code to share hedging determination with hedging_util Created: 04/Nov/22  Updated: 29/Oct/23  Resolved: 14/Nov/22

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

Type: Improvement Priority: Major - P3
Reporter: George Wangensteen Assignee: George Wangensteen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-71991 make hedge_options_util library depen... Closed
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2022-11-14, Service Arch 2022-11-28
Participants:

 Description   

The async_rpc::sendHedgedCommand path currently makes an independent determination about whether to hedge and how many hosts to hedge with from hedging_util.h. We should refactor this code so it is shared between the two sites, with the eventual goal of removing hedging_util.h after the ARS is rewritten in SERVER-70191

We should also ensure the semantics are identical.



 Comments   
Comment by Githook User [ 14/Nov/22 ]

Author:

{'name': 'George Wangensteen', 'email': 'george.wangensteen@mongodb.com', 'username': 'gewa24'}

Message: SERVER-71086 Refactor hedged-read-determination code to be shared between async_rpc and other consumers
Branch: master
https://github.com/mongodb/mongo/commit/d4cd973ae39fe2625a84f2f7b711f9c7ebe885e9

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