-
Type:
New Feature
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Networking
-
None
-
Fully Compatible
-
Service Arch 2020-02-10, Sharding 2020-01-27, Service Arch 2020-02-24, Service Arch 2020-03-09
Support operation hedging in NetworkInterfaceTL.
Operation hedging should allow a request against a network interface to dispatch multiple overlapping requests to distinct nodes as part of the same logical operation. The first node to successfully respond, or to fail in a non-retriable way, should fulfill the operation and return the result to the caller.
This is made up of a few parts:
- Change the on heap representation of an in-flight operation (now encoded in the CommandState) to be capable of managing multiple in flight operations. My notion for a name is rename it ParallelCommandState, and have it own multiple CommandStates internally
- Change startCommand, in the presence of hedge options, to perform that operation hedging
The "basic" part of this ticket is that we can omit hooking into the functionality in PM-1372. For basic support it is sufficient to let those operations continue in the background
- is duplicated by
-
SERVER-45436 add a network interface integration test for operation hedging
-
- Closed
-