-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BACKPORT 2.20.2] [PLAT-8632] Add runtime config for waitForServerRea…
…dy timeout Summary: Add runtime config for waitForServerReady (default: 10 mins) called `yb.checks.wait_for_server_ready.timeout` instead of the static 10 min wait as some customers have huge number of tablets to locally bootstrap and 10 mins is not enough. Original diff: https://phorge.dev.yugabyte.com/D29341 Test Plan: Create a 3 node rf3 universe 1. Modify the `yb.checks.wait_for_server_ready.timeout` runtime config to a very low value. 2. Run a rolling restart. The `waitForServerReady` subtask will fail on the first node because of the very low timeout. Reviewers: sneelakantan Reviewed By: sneelakantan Subscribers: yugaware Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D36418
- Loading branch information
1 parent
b40acf6
commit 5e022ce
Showing
7 changed files
with
33 additions
and
11 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -672,6 +672,9 @@ yb { | |
enabled = true | ||
max_threshold = 60000ms | ||
} | ||
wait_for_server_ready { | ||
timeout: 10m | ||
} | ||
} | ||
|
||
health { | ||
|