Bump HdrHistogram from 2.1.9 to 2.1.12 in /server (#2135)

* Bump HdrHistogram from 2.1.9 to 2.1.12 in /server

Bumps [HdrHistogram](https://github.com/HdrHistogram/HdrHistogram) from 2.1.9 to 2.1.12.
- [Release notes](https://github.com/HdrHistogram/HdrHistogram/releases)
- [Commits](https://github.com/HdrHistogram/HdrHistogram/compare/HdrHistogram-2.1.9...HdrHistogram-2.1.12)

---
updated-dependencies:
- dependency-name: org.hdrhistogram:HdrHistogram
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

* Update test to match new behavior of HdrHistogram

There was a [change in behavior in HdrHistogram][1] that causes the
tests to fail with the new version. The fix here is to add another value
in the test data set for the failing test, which has the result of
making both versions of HdrHistogram agree on the percentile values.

[1]: 5c7226c4ff

Signed-off-by: Andrew Ross <andrross@amazon.com>

* Remove unnecessary exclusion on third party audit

Signed-off-by: Andrew Ross <andrross@amazon.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrew Ross <andrross@amazon.com>
This commit is contained in:
dependabot[bot] 2022-05-05 11:30:12 -05:00 committed by GitHub
parent 741445a574
commit bce7f49944
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 10 deletions

View File

@ -160,6 +160,16 @@ setup:
---
"Filtered test":
- do:
bulk:
refresh: true
body:
- index:
_index: test_1
_id: 5
- int_field: 126
double_field: 126.0
string_field: foo
- do:
search:
rest_total_hits_as_int: true
@ -180,14 +190,14 @@ setup:
field: double_field
hdr: {}
- match: { hits.total: 3 }
- length: { hits.hits: 3 }
- match: { hits.total: 4 }
- length: { hits.hits: 4 }
- match: { aggregations.percentiles_int.values.1\.0: 51.0 }
- match: { aggregations.percentiles_int.values.5\.0: 51.0 }
- match: { aggregations.percentiles_int.values.25\.0: 51.0 }
- match: { aggregations.percentiles_int.values.50\.0: 101.03125 }
- match: { aggregations.percentiles_int.values.75\.0: 101.03125 }
- match: { aggregations.percentiles_int.values.75\.0: 126.03125 }
- match: { aggregations.percentiles_int.values.95\.0: 151.09375 }
- match: { aggregations.percentiles_int.values.99\.0: 151.09375 }
@ -195,7 +205,7 @@ setup:
- match: { aggregations.percentiles_double.values.5\.0: 51.0 }
- match: { aggregations.percentiles_double.values.25\.0: 51.0 }
- match: { aggregations.percentiles_double.values.50\.0: 101.03125 }
- match: { aggregations.percentiles_double.values.75\.0: 101.03125 }
- match: { aggregations.percentiles_double.values.75\.0: 126.03125 }
- match: { aggregations.percentiles_double.values.95\.0: 151.09375 }
- match: { aggregations.percentiles_double.values.99\.0: 151.09375 }

View File

@ -121,7 +121,7 @@ dependencies {
// percentiles aggregation
api 'com.tdunning:t-digest:3.2'
// precentil ranks aggregation
api 'org.hdrhistogram:HdrHistogram:2.1.9'
api 'org.hdrhistogram:HdrHistogram:2.1.12'
// lucene spatial
api "org.locationtech.spatial4j:spatial4j:${versions.spatial4j}", optional
@ -317,10 +317,6 @@ tasks.named("thirdPartyAudit").configure {
'com.google.common.geometry.S2$Metric',
'com.google.common.geometry.S2LatLng'
)
if (BuildParams.runtimeJavaVersion > JavaVersion.VERSION_1_8) {
ignoreMissingClasses 'javax.xml.bind.DatatypeConverter'
}
}
tasks.named("dependencyLicenses").configure {

View File

@ -0,0 +1 @@
6eb7552156e0d517ae80cc2247be1427c8d90452

View File

@ -1 +0,0 @@
e4631ce165eb400edecfa32e03d3f1be53dee754