You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (Jira)" <ji...@apache.org> on 2022/06/30 14:20:00 UTC

[jira] [Updated] (CASSANDRA-17723) Add support for big endian architecture (s390x)

     [ https://issues.apache.org/jira/browse/CASSANDRA-17723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Williams updated CASSANDRA-17723:
-----------------------------------------
    Change Category: Operability
         Complexity: Normal
        Component/s: Test/unit
      Fix Version/s: 4.x
             Status: Open  (was: Triage Needed)

> Add support for big endian architecture (s390x)
> -----------------------------------------------
>
>                 Key: CASSANDRA-17723
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17723
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Test/unit
>            Reporter: Shahid Shaikh
>            Priority: Normal
>             Fix For: 4.x
>
>         Attachments: cassandra_patch_file.patch
>
>
> Noticed that some of the Cassandra tests are failing on big endian architectures (s390x). Please find the attached code patch which corrects the data handling for big endian architecture. It also corrects the byte ordering when dealing with sun.misc.Unsafe methods. After the patch following tests are passing for s390x which were failing earlier:
> TTLTest
> ScrubTest
> LegacySSTableTest
> SSTableExportSchemaLoadingTest
> SSTableMetadataViewerTest
> StandaloneUpgraderOnSStablesTest
> StandaloneVerifierOnSSTablesTest
> The code change ensures that Cassandra for little endian architectures remain unaffected.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org