Comments (2)
Since the underlying project is archived, I don't expect to see any fix for this issue. So this is for anyone stumbling across this: The bug resides within these lines of code: https://github.com/grafana/metrictank/blob/6d15fe1d382fa6a48a3d3f006a4b25dccb5d1952/util/flag_parsers.go#L28-L34
The value for orgID
is parsed into a signed integer by Atoi
. While integers on 64bit platforms are large enough to hold uint32, this is not the case on 32bit platforms. The maximum value of uint32 fits into a signed int64, but not into a signed int32.
The fix would be to replace line 28 in flag_parsers.go
linked above:
orgID, err := strconv.ParseUint(parts[0], 10, 32)
Patching the file locally may be a workaround to build this project on 32bit RaspberryPi. I was able to compile after patching.
from carbon-relay-ng.
...just to see it crashing right after launch. There are tons of atomic 64bit operations within this source code, so I don't think this will ever run on 32bit platforms: https://github.com/search?q=repo%3Agrafana%2Fcarbon-relay-ng%20atomic&type=code
from carbon-relay-ng.
Related Issues (20)
- Better handling when aggregationFile isn't defined HOT 1
- Plans on RR (round robin) implementation? HOT 3
- Suggestion: Add official support for Ubuntu Bionic and Focal HOT 7
- "too many open files" possible when using spooling? HOT 2
- kafkaMdm sending streams in strange encoding format to Kafka HOT 10
- Blocklist does not work HOT 3
- Set INSTANCE name via environment variable
- [enhancement] Support X-Script-Name header for the admin webpage
- Release Binaries are deleted on CircleCI HOT 1
- Spoolfiles are not being flushed after destination comes back up
- Support parsing and forwarding of intervals lines in storage-schemas.conf files
- [feature] Kafka input
- Annotations support for graphite
- can you help me to compile carbon-relay for Linux A8 architecture
- While compiling carbon-relay for A8 (ARM ) Facing errors in flag_parsers.go
- service_is internal metrics
- Version 1.4.4 did not successfully release HOT 1
- FR: Custom HTTP base path
- pickle.go: Unrecognized type *big.Int for value
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from carbon-relay-ng.