Skip to content

Commit b6ae5fa

Browse files
committed
Change description of kvm.snapshot.enabled to say that it applies to volume snapshots
1 parent 90f8300 commit b6ae5fa

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

engine/schema/src/main/resources/META-INF/db/schema-41910to42000.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,3 +430,6 @@ CALL `cloud`.`IDEMPOTENT_ADD_COLUMN`('cloud.volumes', 'delete_protection', 'bool
430430
INSERT INTO `cloud`.`configuration_group` (`name`, `description`, `precedence`) VALUES ('Usage Server', 'Usage Server related configuration', 9);
431431
DELETE FROM `cloud`.`configuration_subgroup` WHERE `name`='Usage';
432432
INSERT INTO `cloud`.`configuration_subgroup` (`name`, `keywords`, `precedence`, `group_id`) VALUES ('Usage', NULL, 1, (SELECT id FROM `cloud`.`configuration_group` WHERE `name` = 'Usage Server'));
433+
434+
-- Update the description to indicate this setting applies only to volume snapshots on running instances
435+
UPDATE `cloud`.`configuration` SET `description`='whether volume snapshot is enabled on running instances on KVM hosts' WHERE `name`='kvm.snapshot.enabled';

server/src/main/java/com/cloud/configuration/Config.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ public enum Config {
506506
"The time interval in seconds when the management server polls for snapshots to be scheduled.",
507507
null),
508508
SnapshotDeltaMax("Snapshots", SnapshotManager.class, Integer.class, "snapshot.delta.max", "16", "max delta snapshots between two full snapshots.", null),
509-
KVMSnapshotEnabled("Hidden", SnapshotManager.class, Boolean.class, "kvm.snapshot.enabled", "false", "whether snapshot is enabled for KVM hosts", null),
509+
KVMSnapshotEnabled("Hidden", SnapshotManager.class, Boolean.class, "kvm.snapshot.enabled", "false", "whether volume snapshot is enabled on running instances on KVM hosts", null),
510510

511511
// Advanced
512512
EventPurgeInterval(

0 commit comments

Comments
 (0)