Michael Kublin has uploaded a new change for review.

Change subject: engine: Adding @DisableInMaintenanceMode to RegisterVdsQuery
......................................................................

engine: Adding @DisableInMaintenanceMode to RegisterVdsQuery

The following annotation is added in order to disable a running such query 
during maintaince mode.
Reason is: these query is addding a new host to the system

Change-Id: Idc68dad1dcfeaeba5631f1544572efb804f13eec
Bug-Url: https://bugzilla.redhat.com/868639
Signed-off-by: Michael Kublin <mkub...@redhat.com>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RegisterVdsQuery.java
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/34/8734/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RegisterVdsQuery.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RegisterVdsQuery.java
index 8d8f985..e332f05 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RegisterVdsQuery.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RegisterVdsQuery.java
@@ -31,6 +31,7 @@
 import org.ovirt.engine.core.dao.VdsDAO;
 import org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil;
 
+@DisableInMaintenanceMode
 public class RegisterVdsQuery<P extends RegisterVdsParameters> extends 
QueriesCommandBase<P> {
 
     private AuditLogType error = AuditLogType.UNASSIGNED;


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idc68dad1dcfeaeba5631f1544572efb804f13eec
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Michael Kublin <mkub...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to