[ https://issues.apache.org/jira/browse/CASSANDRA-16050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcus Eriksson updated CASSANDRA-16050: ---------------------------------------- Test and Documentation Plan: new test, cci runs Status: Patch Available (was: Open) | [3.0|https://github.com/krummas/cassandra/commits/marcuse/16050] | [unit tests|https://app.circleci.com/pipelines/github/krummas/cassandra/475/workflows/acc3b0a3-71b9-4816-9b10-0906d9d8c364/jobs/3514] | [jvm dtests|https://app.circleci.com/pipelines/github/krummas/cassandra/475/workflows/acc3b0a3-71b9-4816-9b10-0906d9d8c364/jobs/3515] | [novnodes|https://app.circleci.com/pipelines/github/krummas/cassandra/475/workflows/acc3b0a3-71b9-4816-9b10-0906d9d8c364/jobs/3520] | [vnodes|https://app.circleci.com/pipelines/github/krummas/cassandra/475/workflows/acc3b0a3-71b9-4816-9b10-0906d9d8c364/jobs/3521] | | [3.11|https://github.com/krummas/cassandra/commits/marcuse/16050-3.11] | [unit tests|https://app.circleci.com/pipelines/github/krummas/cassandra/473/workflows/a2ff42d2-6a01-410f-9b45-78ad51615e2f/jobs/3503] | [jvm dtests|https://app.circleci.com/pipelines/github/krummas/cassandra/473/workflows/a2ff42d2-6a01-410f-9b45-78ad51615e2f/jobs/3502] | [novodes |https://app.circleci.com/pipelines/github/krummas/cassandra/473/workflows/a2ff42d2-6a01-410f-9b45-78ad51615e2f/jobs/3516] | [vnodes|https://app.circleci.com/pipelines/github/krummas/cassandra/473/workflows/a2ff42d2-6a01-410f-9b45-78ad51615e2f/jobs/3517] | [trunk|https://github.com/krummas/cassandra/commits/marcuse/16050-trunk] | [unit tests|https://app.circleci.com/pipelines/github/krummas/cassandra/476/workflows/d1da56f3-ddde-48fb-b133-0a2a61133b63/jobs/3510] | [jvm dtests|https://app.circleci.com/pipelines/github/krummas/cassandra/476/workflows/d1da56f3-ddde-48fb-b133-0a2a61133b63/jobs/3509] | [novnodes|https://app.circleci.com/pipelines/github/krummas/cassandra/476/workflows/d1da56f3-ddde-48fb-b133-0a2a61133b63/jobs/3519] | [vnodes|https://app.circleci.com/pipelines/github/krummas/cassandra/476/workflows/d1da56f3-ddde-48fb-b133-0a2a61133b63/jobs/3518] | > 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: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org