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

Marcus Eriksson updated CASSANDRA-16050:
----------------------------------------
     Bug Category: Parent values: Degradation(12984)Level 1 values: Other 
Exception(12998)
       Complexity: Low Hanging Fruit
      Component/s: Local/Startup and Shutdown
                   Local/SSTable
    Discovered By: Code Inspection
    Fix Version/s: 3.11.x
                   3.0.x
                   4.0
         Severity: Normal
           Status: Open  (was: Triage Needed)

> Handle difference in timestamp precision between java8 and java11 in 
> LogFIle.java
> ---------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-16050
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16050
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Local/SSTable, Local/Startup and Shutdown
>            Reporter: Marcus Eriksson
>            Assignee: Marcus Eriksson
>            Priority: Normal
>             Fix For: 4.0, 3.0.x, 3.11.x
>
>
> https://bugs.openjdk.java.net/browse/JDK-8177809 made File.lastModified 
> include milliseconds while java8 always has them as 000.
> This causes problems in LogFile.java where we compare the timestamps with 
> what we have in the logfile: 
> [LogFile.java|https://github.com/apache/cassandra/blob/ffc8e407e087e942c4e5c40605743fe3b32d8fd5/src/java/org/apache/cassandra/db/lifecycle/LogFile.java#L234].
>  This means that we can throw errors when changing between java11 and 8



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to