-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
server: wait for active configuration profiles during startup
Before, we did not wait for these configuration profiles at startup. This produces confusing behaviour where the behaviour of the cluster changes substantially a few moments after startup. For instance the replication-source configuration profile runs SET CLUSTER SETT server.controller.default_target_cluster = 'application' If this is delayed until after we start accepting connections, then for a few moments new connections will go to the system tenant and then afterwards they will go to the application tenant. Here, we narrow the window of confusion by waiting for the configuration profiles to be complete during the preStart sequence in SQL. Note that this doesn't solve startup coordination. There are still at least two problems: 1. Async server startup still means the user may get an error for a few moments after startup until the server is started. 2. Async settings propagation still means that the default_target_cluster setting can still be delayed. Informs #111637 Release note: None
- Loading branch information
1 parent
d131065
commit 0969935
Showing
4 changed files
with
183 additions
and
3 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