Ramesh N has posted comments on this change. Change subject: engine: add feature comptability check for VDS ......................................................................
Patch Set 10: (2 comments) https://gerrit.ovirt.org/#/c/39756/10/packaging/dbscripts/upgrade/03_06_1290_add_cluster_features_table.sql File packaging/dbscripts/upgrade/03_06_1290_add_cluster_features_table.sql: Line 11: -- 2. Gluster 0000 0010 Line 12: -- 3. All 1111 1111 Line 13: Line 14: CREATE TABLE cluster_features Line 15: ( > id is OK from my POV , combined keys makes code in BLL more complex Its always code which gives the UUID. Rows will be inserted using the upgrade script as below in this file. Line 16: feature_id UUID NOT NULL, Line 17: name VARCHAR(256) NOT NULL, Line 18: version VARCHAR(40), Line 19: category INTEGER NOT NULL, Line 42: CONSTRAINT PK_supported_host_features PRIMARY KEY (host_id, feature), Line 43: FOREIGN KEY (host_id) REFERENCES vds_static(vds_id) ON DELETE CASCADE Line 44: ) ; Line 45: Line 46: CREATE UNIQUE INDEX IDX_supported_host_features ON supported_host_features(host_id, feature); > Right , good catch , the PK def in PG implies a clusterd index THanks Eli. I will remove this line. Line 47: -- To view, visit https://gerrit.ovirt.org/39756 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Icba02b189a169bc676e0c5f47f7aaf394f0b49a6 Gerrit-PatchSet: 10 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Ramesh N <rnach...@redhat.com> Gerrit-Reviewer: Eli Mesika <emes...@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Kanagaraj M <kmayi...@redhat.com> Gerrit-Reviewer: Moti Asayag <masa...@redhat.com> Gerrit-Reviewer: Oved Ourfali <oourf...@redhat.com> Gerrit-Reviewer: Ramesh N <rnach...@redhat.com> Gerrit-Reviewer: Sahina Bose <sab...@redhat.com> Gerrit-Reviewer: Shubhendu Tripathi <shtri...@redhat.com> Gerrit-Reviewer: automat...@ovirt.org Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches