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

Fixes for dolt on arm devices #2230

Merged
merged 4 commits into from
Oct 7, 2021
Merged

Fixes for dolt on arm devices #2230

merged 4 commits into from
Oct 7, 2021

Conversation

abmyii
Copy link
Contributor

@abmyii abmyii commented Oct 6, 2021

Closes #2229. However, I'm not confident about this PR since I have no idea of the implications of the changes, nor am I sure how to test them.

Note that I have added more fixes than just for #2229, as I discovered that dolt table import didn't work either.

@abmyii abmyii changed the title Fix for dolt push on arm devices Fixes for dolt on arm devices Oct 6, 2021
@reltuk
Copy link
Contributor

reltuk commented Oct 6, 2021

Thank you for the contribution :).

Seems like a case of an improperly aligned struct field, as per golang/go#36606. I will follow up with some colleagues about landing this.

@reltuk
Copy link
Contributor

reltuk commented Oct 6, 2021

We would prefer if ReaderWithStats maintained support for reading > 4GB files. So I think I have proposed a fix here: abmyii#1

@abmyii
Copy link
Contributor Author

abmyii commented Oct 6, 2021

We would prefer if ReaderWithStats maintained support for reading > 4GB files. So I think I have proposed a fix here: abmyii#1

Thank you very much! I'll test it tomorrow and ensure it doesn't just break it again.

go/libraries/utils/iohelp: ReaderWithStats: Support > 4GB read stats.
@reltuk reltuk merged commit 86307b6 into dolthub:main Oct 7, 2021
@abmyii
Copy link
Contributor Author

abmyii commented Oct 7, 2021

@reltuk Thanks for merging! Would it be possible to get arm builds as part of the Releases rather than having to compile them myself?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

panic: unaligned 64-bit atomic operation when running dolt push on arm
2 participants