[rhq-project/rhq] 9485d5: [1159003] Alert notification sending fails due to ...
by Jay Shaughnessy
Branch: refs/heads/master
Home: https://github.com/rhq-project/rhq
Commit: 9485d519fffbcaa55f100c691def6b6cae2564d9
https://github.com/rhq-project/rhq/commit/9485d519fffbcaa55f100c691def6b6...
Author: Jay Shaughnessy <jshaughn(a)redhat.com>
Date: 2014-10-31 (Fri, 31 Oct 2014)
Changed paths:
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertConditionLogManagerBean.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertConditionManagerBean.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertConditionManagerLocal.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertManagerBean.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertManagerLocal.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/CachedConditionManagerBean.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/CachedConditionManagerLocal.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/engine/jms/AlertConditionConsumerBean.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/cloud/instance/CacheConsistencyManagerBean.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/cloud/instance/CacheConsistencyManagerLocal.java
Log Message:
-----------
[1159003] Alert notification sending fails due to database deadlock error
Remove the umbrella Tx surrounding sending of alert notifications. It used
to be that all notifications would be sent in one REQUIRES_NEW SLSB call. It
was necessary to do this because the notifications were themselves sent
within a larger, very heavy, umbrella Tx that involved the alert generation
itself (among other things). Prior work restructured that logic and
moved notification sending to a more logical place, executing after
alert generation, cache update and recovery logic handling. But the prior
work left the notification sending under a single transaction. This
isn't really necessary or desirable. Each notification should be processed
individually, not holding any resources past its execution, and
persisting each notification log in its own Tx. Although not proven,
the deadlock situation was likely caused when an alert definition defined
multiple notifications, and one held resources required by another.
Also, rename some local SLSB methods with "Tx" suffixes to better reflect
their behavior.
9 years, 1 month
[rhq-project/rhq] ddda7f: POM version bump to 4.12.0.JON330CR01
by Alex Creasy
Branch: refs/heads/release/jon3.3.x
Home: https://github.com/rhq-project/rhq
Commit: ddda7f1d4a9d5ffb3f58b8a150c44a28c9eb4b54
https://github.com/rhq-project/rhq/commit/ddda7f1d4a9d5ffb3f58b8a150c44a2...
Author: Alex Creasy <acreasy(a)redhat.com>
Date: 2014-10-30 (Thu, 30 Oct 2014)
Changed paths:
M code-coverage/pom.xml
M modules/cli-tests/pom.xml
M modules/common/ant-bundle/pom.xml
M modules/common/cassandra-auth/pom.xml
M modules/common/cassandra-ccm/cassandra-ccm-arquillian/pom.xml
M modules/common/cassandra-ccm/cassandra-ccm-core/pom.xml
M modules/common/cassandra-ccm/cassandra-ccm-maven-plugin/pom.xml
M modules/common/cassandra-ccm/cassandra-ccm-testng/pom.xml
M modules/common/cassandra-ccm/pom.xml
M modules/common/cassandra-installer/pom.xml
M modules/common/cassandra-schema/pom.xml
M modules/common/cassandra-util/pom.xml
M modules/common/drift/pom.xml
M modules/common/filetemplate-bundle/pom.xml
M modules/common/jboss-as-dmr-client/pom.xml
M modules/common/jboss-as/pom.xml
M modules/common/pom.xml
M modules/common/wfly-patch-parser/pom.xml
M modules/core/arquillian-integration/archive/pom.xml
M modules/core/arquillian-integration/container/pom.xml
M modules/core/arquillian-integration/pom.xml
M modules/core/arquillian-integration/suite-extension/pom.xml
M modules/core/arquillian-integration/test-agent-plugin/pom.xml
M modules/core/client-api/pom.xml
M modules/core/comm-api/pom.xml
M modules/core/dbutils/pom.xml
M modules/core/domain/pom.xml
M modules/core/gui/pom.xml
M modules/core/native-system/pom.xml
M modules/core/plugin-api/pom.xml
M modules/core/plugin-container-itest/pom.xml
M modules/core/plugin-container/pom.xml
M modules/core/plugin-test-api/pom.xml
M modules/core/plugin-test-util/pom.xml
M modules/core/plugin-validator/pom.xml
M modules/core/plugindoc/pom.xml
M modules/core/pom.xml
M modules/core/util/pom.xml
M modules/enterprise/agent/pom.xml
M modules/enterprise/agentupdate/pom.xml
M modules/enterprise/binding/pom.xml
M modules/enterprise/comm/pom.xml
M modules/enterprise/gui/agentupdate-war/pom.xml
M modules/enterprise/gui/content_http-war/pom.xml
M modules/enterprise/gui/coregui/pom.xml
M modules/enterprise/gui/downloads-war/pom.xml
M modules/enterprise/gui/pom.xml
M modules/enterprise/gui/portal-war/pom.xml
M modules/enterprise/gui/remote-client-war/pom.xml
M modules/enterprise/gui/remoting-war/pom.xml
M modules/enterprise/gui/rest-examples-war/pom.xml
M modules/enterprise/gui/rest-war/pom.xml
M modules/enterprise/gui/rh-access-war/pom.xml
M modules/enterprise/pom.xml
M modules/enterprise/remoting/cli/pom.xml
M modules/enterprise/remoting/client-api/pom.xml
M modules/enterprise/remoting/client-deps/pom.xml
M modules/enterprise/remoting/pom.xml
M modules/enterprise/scripting/api/pom.xml
M modules/enterprise/scripting/javascript/pom.xml
M modules/enterprise/scripting/pom.xml
M modules/enterprise/scripting/python/pom.xml
M modules/enterprise/server/appserver/pom.xml
M modules/enterprise/server/client-api/pom.xml
M modules/enterprise/server/data-migration/pom.xml
M modules/enterprise/server/ear/pom.xml
M modules/enterprise/server/embeddedagent/pom.xml
M modules/enterprise/server/installer/pom.xml
M modules/enterprise/server/itests-2/pom.xml
M modules/enterprise/server/jar/pom.xml
M modules/enterprise/server/plugins/alert-aerogear-ups/pom.xml
M modules/enterprise/server/plugins/alert-cli/pom.xml
M modules/enterprise/server/plugins/alert-email/pom.xml
M modules/enterprise/server/plugins/alert-irc/pom.xml
M modules/enterprise/server/plugins/alert-log4j/pom.xml
M modules/enterprise/server/plugins/alert-microblog/pom.xml
M modules/enterprise/server/plugins/alert-mobicents/pom.xml
M modules/enterprise/server/plugins/alert-operations/pom.xml
M modules/enterprise/server/plugins/alert-roles/pom.xml
M modules/enterprise/server/plugins/alert-snmp/pom.xml
M modules/enterprise/server/plugins/alert-subject/pom.xml
M modules/enterprise/server/plugins/alertdef-rhq/pom.xml
M modules/enterprise/server/plugins/ant-bundle/pom.xml
M modules/enterprise/server/plugins/cobbler/pom.xml
M modules/enterprise/server/plugins/disk/pom.xml
M modules/enterprise/server/plugins/drift-rhq/pom.xml
M modules/enterprise/server/plugins/filetemplate-bundle/pom.xml
M modules/enterprise/server/plugins/jboss-software/pom.xml
M modules/enterprise/server/plugins/jdr-support/pom.xml
M modules/enterprise/server/plugins/packagetype-cli/pom.xml
M modules/enterprise/server/plugins/pom.xml
M modules/enterprise/server/plugins/url/pom.xml
M modules/enterprise/server/plugins/validate-all-serverplugins/pom.xml
M modules/enterprise/server/plugins/wfly-patch-bundle/pom.xml
M modules/enterprise/server/plugins/yum/pom.xml
M modules/enterprise/server/pom.xml
M modules/enterprise/server/safe-invoker/pom.xml
M modules/enterprise/server/server-control/pom.xml
M modules/enterprise/server/server-jdr/pom.xml
M modules/enterprise/server/server-metrics/pom.xml
M modules/enterprise/server/startup-subsystem/pom.xml
M modules/enterprise/server/xml-schemas/pom.xml
M modules/helpers/bundleGen/pom.xml
M modules/helpers/jeeGen/pom.xml
M modules/helpers/metrics-simulator/pom.xml
M modules/helpers/perftest-support/pom.xml
M modules/helpers/pom.xml
M modules/helpers/rest-docs-generator/pom.xml
M modules/helpers/rtfilter-subsystem/pom.xml
M modules/helpers/rtfilter/pom.xml
M modules/integration-tests/apache-plugin-test/pom.xml
M modules/integration-tests/jndi-access/jndi-access-test/pom.xml
M modules/integration-tests/jndi-access/pom.xml
M modules/integration-tests/jndi-access/remote-server/pom.xml
M modules/integration-tests/pom.xml
M modules/integration-tests/rest-api/pom.xml
M modules/plugins/OpenShift-support/pom.xml
M modules/plugins/aliases/pom.xml
M modules/plugins/ant-bundle/pom.xml
M modules/plugins/apache/pom.xml
M modules/plugins/augeas/pom.xml
M modules/plugins/byteman/pom.xml
M modules/plugins/cassandra/pom.xml
M modules/plugins/cobbler/pom.xml
M modules/plugins/cron/pom.xml
M modules/plugins/database/pom.xml
M modules/plugins/filetemplate-bundle/pom.xml
M modules/plugins/grub/pom.xml
M modules/plugins/hadoop/pom.xml
M modules/plugins/hibernate/pom.xml
M modules/plugins/hosts/pom.xml
M modules/plugins/hudson/pom.xml
M modules/plugins/iis/pom.xml
M modules/plugins/irc/pom.xml
M modules/plugins/jboss-as-5/pom.xml
M modules/plugins/jboss-as-7-jmx/pom.xml
M modules/plugins/jboss-as-7/pom.xml
M modules/plugins/jboss-as/pom.xml
M modules/plugins/jboss-cache-v3/pom.xml
M modules/plugins/jboss-cache/pom.xml
M modules/plugins/jmx/pom.xml
M modules/plugins/kickstart/pom.xml
M modules/plugins/mod-cluster/pom.xml
M modules/plugins/mysql/pom.xml
M modules/plugins/netservices/pom.xml
M modules/plugins/noop/pom.xml
M modules/plugins/oracle/pom.xml
M modules/plugins/pattern-generator/pom.xml
M modules/plugins/perftest/pom.xml
M modules/plugins/platform/pom.xml
M modules/plugins/pom.xml
M modules/plugins/postfix/pom.xml
M modules/plugins/postgres/pom.xml
M modules/plugins/rhq-agent/pom.xml
M modules/plugins/rhq-server/pom.xml
M modules/plugins/rhq-storage/pom.xml
M modules/plugins/samba/pom.xml
M modules/plugins/script/pom.xml
M modules/plugins/script2/pom.xml
M modules/plugins/snmptrapd/pom.xml
M modules/plugins/sonarqube/pom.xml
M modules/plugins/sshd/pom.xml
M modules/plugins/sudoers/pom.xml
M modules/plugins/tomcat/pom.xml
M modules/plugins/twitter/pom.xml
M modules/plugins/validate-all-plugins/pom.xml
M modules/plugins/virt/pom.xml
M modules/pom.xml
M modules/test-utils/pom.xml
M pom.xml
Log Message:
-----------
POM version bump to 4.12.0.JON330CR01
9 years, 1 month