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

Runtian Liu updated CASSANDRA-21511:
------------------------------------
    Bug Category: Parent values: Degradation(12984)Level 1 values: Resource 
Management(12995)

> 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
>            Reporter: Runtian Liu
>            Assignee: Runtian Liu
>            Priority: Normal
>          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