-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:None
Description
This ticket adds a startup and runtime server parameter "findChunksOnConfigTimeoutMS" (default 900000) which corresponds to the timeout in milliseconds for find operations against config.chunks.
Description of Linked Ticket
The collection chunk loading code uses the _exhaustiveFindOnConfig call, which applies 30 seconds of timeout to the entire fetch (not just the individual getMore invocations).
If there is a large number of chunks and the config server fetches take more than 30 seconds in total, the initial chunk loading will never succeed, because each attempt will fail with ExceededTimeLimit and will throw out whatever data was partially loaded on the previous attempt, thus effectively starting from the beginning.
Scope of changes
Impact to Other Docs
MVP (Work and Date)
Resources (Scope or Design Docs, Invision, etc.)
- backported by
-
DOCS-15089 [BACKPORT] [v4.4] Collection chunk loading is aborted entirely if fetching all the chunks takes more than 30 seconds
- Closed
- documents
-
SERVER-26755 Collection chunk loading is aborted entirely if fetching all the chunks takes more than 30 seconds
- Closed