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

Update leveldb patch file to suport s390x

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • 1.3.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: