You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Shahid Shaikh (Jira)" <ji...@apache.org> on 2022/07/04 06:32: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 ]

Shahid Shaikh updated CASSANDRA-17723:
--------------------------------------
    Component/s: Legacy/Observability
                 Legacy/Testing
                     (was: Test/unit)

> 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: Legacy/Observability, Legacy/Testing
>            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