OpenSearch/core
Lee Hinman 77d641216a Handle long overflow when adding paths' totals
From #23093, we fixed the issue where a filesystem can be so large that it
overflows and returns a negative number. However, there is another issue when
adding a path as a sub-path to another `FsInfo.Path` object, when adding the
totals the values can still overflow.

This adds the same safety to return `Long.MAX_VALUE` instead of the negative
number, as well as a test exercising the logic.
2017-02-22 13:04:34 -07:00
..
licenses Upgrade HDRHistogram to 2.1.9 (#23254) 2017-02-21 08:50:26 +01:00
src Handle long overflow when adding paths' totals 2017-02-22 13:04:34 -07:00
build.gradle Upgrade HDRHistogram to 2.1.9 (#23254) 2017-02-21 08:50:26 +01:00