Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure harvesterCounter 8-byte alignment (elastic#3273) (elastic#3338)
harvesterCounter is accessed atomically and will fault on x86-32 or ARM if not 8-byte aligned. See golang/go#599 for more details on why it fails and https://golang.org/pkg/sync/atomic/#pkg-note-BUG for how putting the field first in the struct fixes it.
- Loading branch information