[DOCS-13659] Investigate changes in SERVER-26755: Collection chunk loading is aborted entirely if fetching all the chunks takes more than 30 seconds Created: 19/May/20  Updated: 13/Nov/23  Resolved: 18/Aug/21

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 4.7.0, 4.2.19, 4.4.13, 4.0.29, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Naomi Pentrel (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
backported by DOCS-15089 [BACKPORT] [v4.4] Collection chunk lo... Closed
Documented
documents SERVER-26755 Collection chunk loading is aborted e... Closed
Participants:
Days since reply: 2 years, 25 weeks, 1 day ago
Epic Link: DOCSP-15042
Story Points: 2

 Description   

Description

Downstream Change Summary

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.)



 Comments   
Comment by Githook User [ 17/Aug/21 ]

Author:

{'name': 'Naomi Pentrel', 'email': '5212232+npentrel@users.noreply.github.com', 'username': 'npentrel'}

Message: DOCS-13659: Add findChunksOnConfigTimeoutMS parameter
Branch: master
https://github.com/mongodb/docs/commit/668f8b1d17e8a77d8695a176aea285afc5cfb21e

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