Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-61358

Magma Skiplist will add padding for non 8byte elements

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Morpheus
    • None
    • storage-engine
    • Untriaged
    • 0
    • Unknown

    Description

      As discovered in CBD-5836, Magma does atomic operation on memory not aligned at the 8 byte boundary. In x86 this is fine since atomic operations are supported up to the one byte boundary. In arm64, atomic operations are only supported on the 8 byte boundary.

      Anything less than that is undefined behavior. Looks like amazon linux supports up to 1 byte but the M1 mac does not.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            apaar.gupta Apaar Gupta
            apaar.gupta Apaar Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty