You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "David Capwell (Jira)" <ji...@apache.org> on 2023/05/15 23:17:00 UTC

[jira] [Updated] (CASSANDRA-18530) DecimalType violates property fromComparableBytes(asComparableBytes(bb)) != bb

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

David Capwell updated CASSANDRA-18530:
--------------------------------------
     Bug Category: Parent values: Correctness(12982)Level 1 values: Unrecoverable Corruption / Loss(13161)
       Complexity: Normal
    Discovered By: Fuzz Test
    Fix Version/s: 5.x
         Severity: Critical
           Status: Open  (was: Triage Needed)

> DecimalType violates property fromComparableBytes(asComparableBytes(bb)) != bb
> ------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-18530
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18530
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Feature/SAI
>            Reporter: David Capwell
>            Priority: Normal
>             Fix For: 5.x
>
>
> Found by CASSANDRA-18504
> When converting the BB to comparable bytes, converting back returns a different set of bytes for OSS42
> {code}
> java.lang.AssertionError: Property falsified after 18 example(s) 
> Smallest found falsifying value(s) :-
> Type:
> decimal
> Values: [-9.05674E-92]
> Cause was :-
> org.junit.ComparisonFailure: [fromComparableBytes(asComparableBytes(bb)) != bb; version OSS42] expected:<"0000006[1f22e36]"> but was:<"0000006[2ff75ce1c]">
> {code}



--
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