-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
-
ALL
-
v4.4, v4.2, v4.0
-
Sharding 2021-02-08
-
9
The requests that we send from the Balancer thread from the primary node of the CSRS doen't have a reasonable time out: the opCtx of that thread doesn't define the maxTimeMs and, since we do not specify the maxTimeMsOverride it is set to Milliseconds::max().
The main problem is that if any of these requests cannot be fulfilled we will hang there forever.
The goal of this ticket is to define a reasonable maxTimeMsOverride for those commands (30s).