forked from trinodb/trino
-
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.
Avoid losing config updates in DbResourceGroupConfigurationManager
Consider the following sequence: 1. Start with configuredGroups being empty. 2. Load resource group configuration C1, which includes template T1. 3. Select template T1 and expand it into resource group R1. 4. Obtain C1 in DbResourceGroupConfigurationManager#configure. 5. Load resource group configuration C2 with modified parameters for T1. 6. Create a new mapping: configuredGroups[T1 -> R1], then configure R1 using C1. As a result, R1 will miss C2. Another configuration update (C3) will be required to apply changes.
- Loading branch information
1 parent
b1f5665
commit 6030124
Showing
3 changed files
with
136 additions
and
42 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