Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-5288

Update leveldb patch file to suport s390x

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 1.3.0
    • Component/s: None
    • Labels:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bingli1000 Bing Li
                Reporter:
                bingli1000 Bing Li
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: