Skip to content

Commit 4d6df58

Browse files
authored
engine-schema: fix options for host.allocators.order config (#8733)
With d8c7e34 options were added to the host.allocators.order config. Currently, it allows adding only FirstFitRouting as the value. This PR fixes the behaviour and allows other host allocators to be added. Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
1 parent de266a4 commit 4d6df58

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

engine/schema/src/main/resources/META-INF/db/schema-41900to41910.sql

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,8 @@ CREATE TABLE IF NOT EXISTS `cloud_usage`.`usage_vpc` (
6565
CALL `cloud_usage`.`IDEMPOTENT_ADD_COLUMN`('cloud_usage.cloud_usage', 'state', 'VARCHAR(100) DEFAULT NULL');
6666

6767
CALL `cloud`.`IDEMPOTENT_ADD_COLUMN`('cloud.user_data', 'removed', 'datetime COMMENT "date removed or null, if still present"');
68+
69+
-- Update options for config - host.allocators.order
70+
UPDATE `cloud`.`configuration` SET
71+
`options` = 'FirstFitRouting,RandomAllocator,TestingAllocator,FirstFitAllocator,RecreateHostAllocator'
72+
WHERE `name` = 'host.allocators.order';

0 commit comments

Comments
 (0)