Fix Workhorse failing on 64-bit unaligned access on Raspberry Pi 32-bit
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/177057 added new fields to the Redis KeyWatcher structure that caused a `panic: unaligned 64-bit atomic operation` on Raspberry Pi 32-bit builds for Workhorse. I was able to reproduce this by on a Raspberry Pi 64-bit system: 1. Install the 32-bit libraries: `apt install libc6:armhf libstdc++6:armhf`. 2. Build `gitlab-workhorse` with `GOARCH=arm` and `GOARM=7` environment variable set. 3. Spin up a Redis server. 4. Run `gitlab-workhorse` with this `config.toml`: ``` [redis] URL = "redis://localhost:6379" ``` Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/514010 Changelog: fixed
想要评论请 注册 或 登录