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

Nuno Santos resolved OAK-12552.
-------------------------------
    Fix Version/s: 2.10.0
       Resolution: Fixed

> Propagate interrupted segment reads instead of reporting missing segments
> -------------------------------------------------------------------------
>
>                 Key: OAK-12552
>                 URL: https://issues.apache.org/jira/browse/OAK-12552
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>            Reporter: Nuno Santos
>            Assignee: Nuno Santos
>            Priority: Major
>             Fix For: 2.10.0
>
>
> When a segment read from the persistent disk cache is interrupted, 
> {{PersistentDiskCache}} handles {{ClosedByInterruptException}} as an ordinary 
> I/O error and returns a cache miss. Cancellation can then trigger an 
> unnecessary backend read or surface as {{{}SegmentNotFoundException{}}}, 
> which can cause a consistency check to report false corruption.
> Propagate interruption as cancellation through the cache and segment-store 
> read paths, including linked caches and read-only stores. Add regression 
> tests that distinguish interrupted reads from genuinely missing segments and 
> verify that an interrupted cache hit does not invoke the backend loader.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to