[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: |
|
||||||||
| 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: |