Skip to content

Commit 3bbbb26

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

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
-- Schema upgrade from 4.22.1.0 to 4.23.0.0
2020
--;
2121

22-
-- Update value to random for the config 'vm.allocation.algorithm' or 'volume.allocation.algorithm'
23-
-- 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');
22+
-- Update value to random for the config 'vm.allocation.algorithm' or 'volume.allocation.algorithm' if configured as userconcentratedpod_random
23+
-- Update value to firstfit for the config 'vm.allocation.algorithm' or 'volume.allocation.algorithm' if configured as 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)