Michael Kublin has uploaded a new change for review.

Change subject: engine: Removing a global transaction from Login commands
......................................................................

engine: Removing a global transaction from Login commands

The following fix is simple, but this fix will reduce a number of open 
transaction during
login.
Should improve a Monday scenario.

Change-Id: Ibb7d8729979a8e767adad4f0e75a63b94e5081ab
Signed-off-by: Michael Kublin <[email protected]>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/LoginAdminUserCommand.java
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/LoginUserCommand.java
2 files changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/79/11879/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/LoginAdminUserCommand.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/LoginAdminUserCommand.java
index 803de09..5a55f774 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/LoginAdminUserCommand.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/LoginAdminUserCommand.java
@@ -3,6 +3,7 @@
 import org.ovirt.engine.core.common.action.LoginUserParameters;
 import org.ovirt.engine.core.dal.VdcBllMessages;
 
+@NonTransactiveCommandAttribute
 public class LoginAdminUserCommand<T extends LoginUserParameters> extends 
LoginUserCommand<T> {
 
     public LoginAdminUserCommand(T parameters) {
diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/LoginUserCommand.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/LoginUserCommand.java
index 6974d57..5ed8a49 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/LoginUserCommand.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/LoginUserCommand.java
@@ -10,6 +10,7 @@
 import org.ovirt.engine.core.common.action.LoginUserParameters;
 import org.ovirt.engine.core.dal.VdcBllMessages;
 
+@NonTransactiveCommandAttribute
 public class LoginUserCommand<T extends LoginUserParameters> extends 
LoginBaseCommand<T> {
     public LoginUserCommand(T parameters) {
         super(parameters);


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

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

Reply via email to