Shubhendu Tripathi has uploaded a new change for review.

Change subject: gluster: Added flag GlusterVolumeSnapshotSupported
......................................................................

gluster: Added flag GlusterVolumeSnapshotSupported

Added a flag GlusterVolumeSnapshotSupported which tells if gluster
volume snapshot feature is enabled for the said cluster compatibility
version.

Change-Id: I235824105467201e10802b7893e9f1e911adc49b
Signed-off-by: Shubhendu Tripathi <[email protected]>
---
M packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/82/34582/1

diff --git a/packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql 
b/packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql
index e1ec26d..d3acfcd 100644
--- a/packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql
+++ b/packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql
@@ -182,6 +182,12 @@
 select fn_db_add_config_value('GlusterAsyncTasksSupport', 'false', '3.3');
 select fn_db_add_config_value('GlusterPeerStatusRetries', '2', 'general');
 select fn_db_add_config_value('GlusterTaskMinWaitForCleanupInMins', '10', 
'general');
+select fn_db_add_config_value('GlusterVolumeSnapshotSupported', 'false', 
'3.0');
+select fn_db_add_config_value('GlusterVolumeSnapshotSupported', 'false', 
'3.1');
+select fn_db_add_config_value('GlusterVolumeSnapshotSupported', 'false', 
'3.2');
+select fn_db_add_config_value('GlusterVolumeSnapshotSupported', 'false', 
'3.3');
+select fn_db_add_config_value('GlusterVolumeSnapshotSupported', 'false', 
'3.4');
+select fn_db_add_config_value('GlusterVolumeSnapshotSupported', 'false', 
'3.5');
 
 
 -- OpenStack related


-- 
To view, visit http://gerrit.ovirt.org/34582
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I235824105467201e10802b7893e9f1e911adc49b
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shubhendu Tripathi <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to