forked from ClickHouse/ClickHouse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adaptive async insert timeout adjustments for large limits
Customers may have a maximum asynchronous timeout limit as large as 100 seconds. This doesn't work well with the current algorithm, which uses a default minimum limit of 50 milliseconds. * Use the maximum limit as the initial value for the adaptive algorithm; * Introduce async_insert_busy_timeout_max_limits_ratio to determine the maximum ratio between the minimum and maximum limits. If the ratio between async_insert_busy_timeout_min_ms and async_insert_busy_timeout_max_ms exceeds this value, increase the minimum limit.
- Loading branch information
Showing
4 changed files
with
28 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters