JinwooHwang opened a new pull request, #7945:
URL: https://github.com/apache/geode/pull/7945
## Overview
This PR upgrades the `HdrHistogram` dependency from version 2.1.12 to 2.2.2,
bringing in bug fixes, performance improvements, and enhanced histogram
functionality for better latency tracking and metrics collection.
## Changes Made
### Dependency Version Updates
- **HdrHistogram**: `2.1.12` → `2.2.2`
### Files Modified
1.
**build-tools/geode-dependency-management/src/main/groovy/org/apache/geode/gradle/plugins/DependencyConstraints.groovy**
- Added explicit version constraint: `api(group: 'org.hdrhistogram',
name: 'HdrHistogram', version: '2.2.2')`
2. **geode-assembly/src/integrationTest/resources/assembly_content.txt**
- Updated JAR reference: `HdrHistogram-2.1.12.jar` →
`HdrHistogram-2.2.2.jar`
3.
**geode-assembly/src/integrationTest/resources/gfsh_dependency_classpath.txt**
- Updated classpath reference: `HdrHistogram-2.1.12.jar` →
`HdrHistogram-2.2.2.jar`
4.
**geode-server-all/src/integrationTest/resources/dependency_classpath.txt**
- Updated classpath reference: `HdrHistogram-2.1.12.jar` →
`HdrHistogram-2.2.2.jar`
## Validation
### Build Validation
All build tasks completed successfully:
- ✅ `build`
### Test Validation
- ✅ All tests passed with `gradlew test`
## About HdrHistogram
HdrHistogram is a high-performance histogram implementation used by
Micrometer for latency tracking and metrics collection in Apache Geode. It
provides accurate percentile measurements with minimal overhead and memory
footprint.
## Benefits
- **Improved accuracy**: Enhanced percentile calculations for more precise
latency measurements
- **Performance improvements**: Better memory efficiency and reduced overhead
- **Bug fixes**: Includes all bug fixes from versions 2.1.13 through 2.2.2
- **Thread safety**: Enhanced thread safety improvements for concurrent usage
- **Better observability**: Improved metrics collection and monitoring
capabilities
## Compatibility
- Fully backward compatible with existing code
- No API changes affecting current usage
- All existing tests pass without modification
- No changes required to application logic
## Release Notes References
For detailed information about changes between versions, see:
- [HdrHistogram
Releases](https://github.com/HdrHistogram/HdrHistogram/releases)
---
**Note**: This upgrade is part of ongoing dependency maintenance to keep the
project up-to-date with the latest stable versions of its dependencies and
ensure optimal performance for metrics and monitoring functionality.
<!-- Thank you for submitting a contribution to Apache Geode. -->
<!-- In order to streamline review of your contribution we ask that you
ensure you've taken the following steps. -->
### For all changes, please confirm:
- [ ] Is there a JIRA ticket associated with this PR? Is it referenced in
the commit message?
- [x] Has your PR been rebased against the latest commit within the target
branch (typically `develop`)?
- [x] Is your initial contribution a single, squashed commit?
- [x] Does `gradlew build` run cleanly?
- [ ] Have you written or updated unit tests to verify your changes?
- [ ] If adding new dependencies to the code, are these dependencies
licensed in a way that is compatible for inclusion under [ASF
2.0](http://www.apache.org/legal/resolved.html#category-a)?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]