https://github.com/voldemort/voldemort
Revision 2aec46a1edfbb6ab1eac4529d59ceb13f51e9fec authored by Arunachalam Thirupathi on 11 September 2015, 01:59:30 UTC, committed by Arunachalam Thirupathi on 14 September 2015, 18:35:28 UTC
Current code creates duplicate JMX for storeClient , pipeline stats when the getStoreClient method is called more than once. This fix avoids the duplicate jmx registration by caching the first creation and registering only once. Read only stroage engine registers the last swapped with node id in the name, this creates multiple counters which clutters the log and tracking across multiple nodes last swap time difficult to visualize.
1 parent 7975559
Tip revision: 2aec46a1edfbb6ab1eac4529d59ceb13f51e9fec authored by Arunachalam Thirupathi on 11 September 2015, 01:59:30 UTC
Avoid duplicate JMX for Store and Pipeline stats
Avoid duplicate JMX for Store and Pipeline stats
Tip revision: 2aec46a
File | Mode | Size |
---|---|---|
.settings | ||
bin | ||
clients | ||
config | ||
contrib | ||
docs | ||
example | ||
gradle | ||
private-lib | ||
src | ||
test | ||
voldemort-contrib | ||
.gitignore | -rw-r--r-- | 242 bytes |
CONTRIBUTORS | -rw-r--r-- | 659 bytes |
LICENSE | -rw-r--r-- | 11.1 KB |
NOTES | -rw-r--r-- | 2.5 KB |
NOTICE | -rw-r--r-- | 8.1 KB |
README.md | -rw-r--r-- | 4.4 KB |
build.gradle | -rw-r--r-- | 20.0 KB |
build.xml | -rw-r--r-- | 1.7 KB |
gradle.properties | -rw-r--r-- | 1.1 KB |
gradlew | -rwxr-xr-x | 5.0 KB |
gradlew.bat | -rw-r--r-- | 2.3 KB |
release_notes.txt | -rw-r--r-- | 44.2 KB |
settings.gradle | -rw-r--r-- | 149 bytes |
tomcat-tasks.properties | -rw-r--r-- | 420 bytes |
web.xml | -rw-r--r-- | 1.1 KB |
Computing file changes ...