https://github.com/Netflix/atlas
Revision 2c50898f0861f96011ae5704ecd3ec146417ba06 authored by brharrington on 01 September 2022, 11:56:16 UTC, committed by GitHub on 01 September 2022, 11:56:16 UTC
Back port of #1452. Before it was relying on `abs` to get a non-negative value for computing an index to the array. This breaks when the int value of the id is `Integer.MIN_VALUE`. Update it to explicitly clear the sign bit to ensure the value will always be non-negative.
1 parent 6b4665d
Tip revision: 2c50898f0861f96011ae5704ecd3ec146417ba06 authored by brharrington on 01 September 2022, 11:56:16 UTC
1.6: fix shard lookup for Integer.MIN_VALUE (#1459)
1.6: fix shard lookup for Integer.MIN_VALUE (#1459)
Tip revision: 2c50898
File | Mode | Size |
---|---|---|
.github | ||
atlas-akka | ||
atlas-chart | ||
atlas-config | ||
atlas-core | ||
atlas-eval | ||
atlas-jmh | ||
atlas-json | ||
atlas-lwcapi | ||
atlas-module-akka | ||
atlas-module-cloudwatch | ||
atlas-module-eval | ||
atlas-module-lwcapi | ||
atlas-module-webapi | ||
atlas-poller | ||
atlas-poller-cloudwatch | ||
atlas-standalone | ||
atlas-webapi | ||
atlas-wiki | ||
conf | ||
project | ||
scripts | ||
.gitignore | -rw-r--r-- | 242 bytes |
.scalafmt.conf | -rw-r--r-- | 536 bytes |
CONTRIBUTING.md | -rw-r--r-- | 10.2 KB |
LICENSE | -rw-r--r-- | 11.1 KB |
Makefile | -rw-r--r-- | 2.3 KB |
OSSMETADATA | -rw-r--r-- | 20 bytes |
README.md | -rw-r--r-- | 884 bytes |
build.sbt | -rw-r--r-- | 5.4 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...