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

Runtian Liu updated CASSANDRA-21511:
------------------------------------
    Test and Documentation Plan: Unit tests
                         Status: Patch Available  (was: In Progress)

4.1: [https://github.com/apache/cassandra/pull/4932]

5.0: [https://github.com/apache/cassandra/pull/4933]

6.0: [https://github.com/apache/cassandra/pull/4934]

trunk: [https://github.com/apache/cassandra/pull/4935]

> NativeLibrary.trySkipCache incorrectly decrements offset when splitting 
> ranges larger than Integer.MAX_VALUE
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-21511
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21511
>             Project: Apache Cassandra
>          Issue Type: Bug
>          Components: Local/Caching
>            Reporter: Runtian Liu
>            Assignee: Runtian Liu
>            Priority: Normal
>             Fix For: 4.1.x, 5.0.x, 6.x, 7.x
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Cassandra’s {{NativeLibrary.trySkipCache}} incorrectly moves the file offset 
> backward when splitting page-cache eviction ranges larger than ~2 GiB. 
> Subsequent {{posix_fadvise}} calls may use negative offsets and fail, leaving 
> part of the file cached.
> Fix {{offset -= sublen}} to {{offset += sublen}} and add boundary and 
> multi-chunk unit tests.



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

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

Reply via email to