ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sneet...@apache.org
Subject [6/7] incubator-ranger git commit: ARGUS-185: optimize database transaction usage in admin web application
Date Tue, 09 Dec 2014 23:42:31 GMT
ARGUS-185: optimize database transaction usage in admin web application


Project: http://git-wip-us.apache.org/repos/asf/incubator-ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/b0416423
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/b0416423
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/b0416423

Branch: refs/heads/ranger-0.4
Commit: b0416423a849f6f276d8100fbc915a95f42acee9
Parents: 487d1bf
Author: Madhan Neethiraj <madhan@apache.org>
Authored: Mon Nov 17 11:58:38 2014 -0800
Committer: sneethiraj <sneethir@apache.org>
Committed: Sun Dec 7 01:17:10 2014 -0500

----------------------------------------------------------------------
 security-admin/src/main/java/com/xasecure/biz/AssetMgr.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/b0416423/security-admin/src/main/java/com/xasecure/biz/AssetMgr.java
----------------------------------------------------------------------
diff --git a/security-admin/src/main/java/com/xasecure/biz/AssetMgr.java b/security-admin/src/main/java/com/xasecure/biz/AssetMgr.java
index a96dab9..521cea7 100644
--- a/security-admin/src/main/java/com/xasecure/biz/AssetMgr.java
+++ b/security-admin/src/main/java/com/xasecure/biz/AssetMgr.java
@@ -2170,7 +2170,7 @@ public class AssetMgr extends AssetMgrBase {
 			final XXPolicyExportAudit xXPolicyExportAudit) {
 		TransactionTemplate txTemplate = new TransactionTemplate(txManager);
 		txTemplate
-				.setPropagationBehavior(TransactionDefinition.PROPAGATION_REQUIRES_NEW);
+				.setPropagationBehavior(TransactionDefinition.PROPAGATION_REQUIRED);
 		XXPolicyExportAudit policyExportAudit = (XXPolicyExportAudit) txTemplate
 				.execute(new TransactionCallback<Object>() {
 					public Object doInTransaction(TransactionStatus status) {


Mime
View raw message