[
https://issues.apache.org/jira/browse/MESOS-5288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15272401#comment-15272401
]
Bing Li commented on MESOS-5288:
--------------------------------
I've tried the latest release version v1.18. It built successfully.
But the test case "ReplicaTest_Restore" failed which is also mentioned in
MESOS-2201 .
Ended up I backported the endianness detection fix. And it didn't break any
test cases.
> Update leveldb patch file to suport s390x
> -----------------------------------------
>
> Key: MESOS-5288
> URL: https://issues.apache.org/jira/browse/MESOS-5288
> Project: Mesos
> Issue Type: Bug
> Reporter: Bing Li
> Assignee: Bing Li
>
> There're 2 issues in leveldb-1.4.
> 1. Leveldb didn't build. Have to define MemoryBarrier() for s390x.
> I got the patch form https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=644336
> .
> 2. A number of unit tests failed due to 1.4 doesn't detect endianness
> properly. And s390x is big-endian.
> Got error messages like "Failed to recover the log: Corruption: checksum
> mismatch".
> I have a backport patch which is part of the leveldb commit
> https://github.com/google/leveldb/commit/075a35a6d390167b77b687e067dd0ba593e7f624
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)