Skip to content

Commit b0c4f5b

Browse files
committed
use firstfit instead of random for userconcentratedpod_firstfit
1 parent f4fd95a commit b0c4f5b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

engine/schema/src/main/resources/META-INF/db/schema-42210to42300.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@
2121

2222
-- Update value to random for the config 'vm.allocation.algorithm' or 'volume.allocation.algorithm'
2323
-- if configured as userconcentratedpod_random or userconcentratedpod_firstfit
24-
UPDATE `cloud`.`configuration` SET value='random' WHERE name IN ('vm.allocation.algorithm', 'volume.allocation.algorithm') AND value IN ('userconcentratedpod_random', 'userconcentratedpod_firstfit');
24+
UPDATE `cloud`.`configuration` SET value='random' WHERE name IN ('vm.allocation.algorithm', 'volume.allocation.algorithm') AND value='userconcentratedpod_random';
25+
UPDATE `cloud`.`configuration` SET value='firstfit' WHERE name IN ('vm.allocation.algorithm', 'volume.allocation.algorithm') AND value='userconcentratedpod_firstfit';

0 commit comments

Comments
 (0)