Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.3] Ensure the stats is always 64bit aligned #586

Merged
merged 1 commit into from
Oct 25, 2023
Merged

[1.3] Ensure the stats is always 64bit aligned #586

merged 1 commit into from
Oct 25, 2023

Conversation

ahrtr
Copy link
Member

@ahrtr ahrtr commented Oct 25, 2023

Backport #584 to release-1.3

The first word in an allocated struct can be relied upon to be
64-bit aligned. Refer to https://pkg.go.dev/sync/atomic#pkg-note-BUG.

Signed-off-by: Benjamin Wang <wachao@vmware.com>
@ahrtr ahrtr added this to the v1.3.8 milestone Oct 25, 2023
@ahrtr ahrtr changed the title Ensure the stats is always 64bit aligned [1.3] Ensure the stats is always 64bit aligned Oct 25, 2023
@ahrtr ahrtr mentioned this pull request Oct 25, 2023
6 tasks
@tjungblu
Copy link
Contributor

/lgtm

@ahrtr
Copy link
Member Author

ahrtr commented Oct 25, 2023

cc @mitake @ptabor @serathius @spzala

@ahrtr ahrtr merged commit 42a914d into etcd-io:release-1.3 Oct 25, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants