Repository navigation
Fix alignment for 32 bit compilers - #2511
mkaczanowski wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
count is protected by the mutex right? move the mutex before the count? or at least add a comment
|
@xiang90 Yeah, certainly comments are required. Is that ok? |
|
Some random thought for implementation: what about add a |
|
@yichengq That might be ok, but yet it is still extra variable. There is very little places where alignment is needed, so I'll leave it as it is. For now |
|
@mkaczanowski I would like to merge this, but there is still no guarantee that etcd can work well on 32bit machines. :( |
|
Can you please squash the commits and change the commit message to |
|
Yeah sure. |
|
@mkaczanowski If we merge this can we ask you to maintain it moving forward and ping you when folks have other questions about etcd + 32bit? |
|
@philips Sorry for late response, I've been away. Yes I'm totally fine with that. I'll help as much as I can. |
|
Can we get this merged? |
|
I believe, yes. |
It's a lot cleaner though and since it's a very specific problem we shouldn't refactor struct fields to address it: openshift/origin#1938 |
|
@mkaczanowski We merged #3249 to fix this issue. It would be great if you can keep an eye on arm build. Thanks! |
I've managed to run etcd + fleet on odroid u3 (ARM) and wandboard (ARM). It seems to work correctly after these few alignments are changed. I believe this patch won't cause much harm? Anyway it work perfectly fine so far, I've expected more failures due frequent sync but I'm using emmc + ssd memory, so it is not so bad.
I'll make some stress tests in a while.