[rhq-project/rhq] 26e571: [1120417] Break up transaction of updatePluginConf...
by Jay Shaughnessy
Branch: refs/heads/master
Home: https://github.com/rhq-project/rhq
Commit: 26e5712b8cefc7601f6ee95091922de667ee3752
https://github.com/rhq-project/rhq/commit/26e5712b8cefc7601f6ee95091922de...
Author: Jay Shaughnessy <jshaughn(a)redhat.com>
Date: 2014-07-18 (Fri, 18 Jul 2014)
Changed paths:
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/resource/metadata/PluginConfigurationMetadataManagerBean.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/resource/metadata/PluginConfigurationMetadataManagerLocal.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/resource/metadata/PluginManagerBean.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/resource/metadata/PluginManagerLocal.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/resource/metadata/ResourceMetadataManagerBean.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/resource/metadata/ResourceMetadataManagerLocal.java
Log Message:
-----------
[1120417] Break up transaction of updatePluginConfigurationDefinition into smaller pieces
Another round of scalability enhancements for updating plugin metadata. In
the past we broke the update of each Plugin into its own Tx. Later we split
registeringTypes and removingTypes into separate Tx and applied a 30 minute
timeout to the type registration. With this pass we now update each type
in its own Tx and allow up to 30 minutes per type. This can be necessary
if updating plugin configurations for a large existing resource population.
9 years, 11 months