AMBARI-20440. Concurrent odification of HostComponentDesiredState entity results in Blueprint based deployment stuck in PENDING state (magyari_sandor)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/b5b5ac46 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/b5b5ac46 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/b5b5ac46 Branch: refs/heads/branch-feature-AMBARI-12556 Commit: b5b5ac46aed06427868183a9cef57ef1a4071d6c Parents: a57bfac Author: Sandor Magyari <[email protected]> Authored: Tue Mar 14 18:41:42 2017 +0100 Committer: Sandor Magyari <[email protected]> Committed: Thu Mar 16 14:17:32 2017 +0100 ---------------------------------------------------------------------- .../ambari/server/state/svccomphost/ServiceComponentHostImpl.java | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/b5b5ac46/ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java b/ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java index 6f01048..6e4979c 100644 --- a/ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java +++ b/ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java @@ -1513,6 +1513,7 @@ public class ServiceComponentHostImpl implements ServiceComponentHost { } @Override + @Transactional public void setRestartRequired(boolean restartRequired) { LOG.debug("Set RestartRequired on serviceName = {} componentName = {} hostName = {} to {}", getServiceName(), getServiceComponentName(), getHostName(), restartRequired);
