Allon Mureinik has posted comments on this change. Change subject: core: Add an audit log entry when number of LVs on a domain exceeded max ......................................................................
Patch Set 1: (1 comment) http://gerrit.ovirt.org/#/c/29057/1/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/storage/StorageDomainHelper.java File backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/storage/StorageDomainHelper.java: Line 14: /** Line 15: * If the storage domain given in the parameter is a block domain, the number of LVs on this domain will be fetched Line 16: * and if it exceeds the maximum number of LVs defined in the AlertOnNumberOfLVs config value, an audit log will Line 17: * be logged to indicate that the number of LVs on this domain exceeded the allowed number of LVs Line 18: * @param storageDomainId > Self explanatory imo, but I'll document So remove it Line 19: */ Line 20: public static void checkNumberOfLVsForBlockDomain(Guid storageDomainId) { Line 21: StorageDomainStatic domain = DbFacade.getInstance().getStorageDomainStaticDao().get(storageDomainId); Line 22: if (domain.getStorageType().isBlockDomain()) { -- To view, visit http://gerrit.ovirt.org/29057 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ie701a4b622b4f93690020922f96279d28903abc8 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Tal Nisan <[email protected]> Gerrit-Reviewer: Allon Mureinik <[email protected]> Gerrit-Reviewer: Daniel Erez <[email protected]> Gerrit-Reviewer: Liron Aravot <[email protected]> Gerrit-Reviewer: Maor Lipchuk <[email protected]> Gerrit-Reviewer: Tal Nisan <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
