From 494975e4422c7f8b43369136297f37466943f4fd Mon Sep 17 00:00:00 2001 From: Alena Prokharchyk Date: Wed, 29 Aug 2012 18:18:27 -0700 Subject: [PATCH] CS-16213: maintain single thread cluster worker until we introduce thread ordering based on the source management server id Reviewed-by: Kelven Yang --- server/src/com/cloud/cluster/ClusterManagerImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/com/cloud/cluster/ClusterManagerImpl.java b/server/src/com/cloud/cluster/ClusterManagerImpl.java index 4c7d4f28c1e..72182fdb8a2 100755 --- a/server/src/com/cloud/cluster/ClusterManagerImpl.java +++ b/server/src/com/cloud/cluster/ClusterManagerImpl.java @@ -149,7 +149,7 @@ public class ClusterManagerImpl implements ClusterManager { // executor to perform remote-calls in another thread context, to avoid potential // recursive remote calls between nodes // - _executor = Executors.newCachedThreadPool(new NamedThreadFactory("Cluster-Worker")); + _executor = Executors.newFixedThreadPool(1, new NamedThreadFactory("Cluster-Worker")); } private void registerRequestPdu(ClusterServiceRequestPdu pdu) {