You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by ka...@apache.org on 2014/07/10 19:05:05 UTC

[22/50] [abbrv] git commit: Restrict shutdown message to a specific session

Restrict shutdown message to a specific session


Project: http://git-wip-us.apache.org/repos/asf/helix/repo
Commit: http://git-wip-us.apache.org/repos/asf/helix/commit/2ab31ddb
Tree: http://git-wip-us.apache.org/repos/asf/helix/tree/2ab31ddb
Diff: http://git-wip-us.apache.org/repos/asf/helix/diff/2ab31ddb

Branch: refs/heads/master
Commit: 2ab31ddb503b726fe22936ce8831877d9fae3292
Parents: 224c7ea
Author: Kanak Biscuitwala <ka...@apache.org>
Authored: Mon Feb 24 15:30:29 2014 -0800
Committer: Kanak Biscuitwala <ka...@apache.org>
Committed: Mon Feb 24 15:30:29 2014 -0800

----------------------------------------------------------------------
 .../apache/helix/controller/stages/ContainerProvisioningStage.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/helix/blob/2ab31ddb/helix-core/src/main/java/org/apache/helix/controller/stages/ContainerProvisioningStage.java
----------------------------------------------------------------------
diff --git a/helix-core/src/main/java/org/apache/helix/controller/stages/ContainerProvisioningStage.java b/helix-core/src/main/java/org/apache/helix/controller/stages/ContainerProvisioningStage.java
index bc3e0c6..ae433e0 100644
--- a/helix-core/src/main/java/org/apache/helix/controller/stages/ContainerProvisioningStage.java
+++ b/helix-core/src/main/java/org/apache/helix/controller/stages/ContainerProvisioningStage.java
@@ -276,7 +276,7 @@ public class ContainerProvisioningStage extends AbstractBaseStage {
               if (participant.isAlive()) {
                 Message message = new Message(MessageType.SHUTDOWN, UUID.randomUUID().toString());
                 message.setTgtName(participant.getId().toString());
-                message.setTgtSessionId("*");
+                message.setTgtSessionId(participant.getRunningInstance().getSessionId());
                 message.setMsgId(message.getId());
                 accessor.createProperty(
                     keyBuilder.message(participant.getId().toString(), message.getId()), message);