Branch: refs/heads/master
Home:
https://github.com/rhq-project/rhq
Commit: 2d896974f527317fe418b88fcab59c3e19d1230d
https://github.com/rhq-project/rhq/commit/2d896974f527317fe418b88fcab59c3...
Author: Lukas Krejci <lkrejci(a)redhat.com>
Date: 2014-06-27 (Fri, 27 Jun 2014)
Changed paths:
M
modules/core/domain/src/main/java/org/rhq/core/domain/common/composite/SystemSetting.java
M
modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/system/SystemManagerBean.java
Log Message:
-----------
[BZ 1071330] Try to avoid timeouts on retrieving system settings
This is a bit of a shot in the dark to reduce the possibility of
timeouts when reading system settings in the server under load.
The concurrency on the bean has been changed from the default
container managed with a write lock on each method to bean managed
with a single critical section in the cache loading and writing methods.
Also, the deobfuscation of the password fields happens only on the
cache reload and only if the settings were changed.
All this to minimize the contention on the SystemManagerBean and to
speed up the retrieval of the settings as much as possible.
Commit: 5df5508ac3415ec1d9b2eeb45c1b67b396673fd6
https://github.com/rhq-project/rhq/commit/5df5508ac3415ec1d9b2eeb45c1b67b...
Author: Lukas Krejci <lkrejci(a)redhat.com>
Date: 2014-06-27 (Fri, 27 Jun 2014)
Changed paths:
M
modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/system/SystemManagerBean.java
Log Message:
-----------
[BZ 1071330] Minimize the duration of the locks
Commit: 4610b91f945e9503fc6291d82a9d50973a840f22
https://github.com/rhq-project/rhq/commit/4610b91f945e9503fc6291d82a9d509...
Author: Lukas Krejci <lkrejci(a)redhat.com>
Date: 2014-06-30 (Mon, 30 Jun 2014)
Changed paths:
M
modules/core/domain/src/main/java/org/rhq/core/domain/common/composite/SystemSetting.java
M
modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/system/SystemManagerBean.java
Log Message:
-----------
Merged pull request #57 from metlos/bug/1071330
[BZ 1071330] Try to avoid timeouts on retrieving system settings
Compare:
https://github.com/rhq-project/rhq/compare/f0a5cc74233f...4610b91f945e