You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Vikas Saurabh (JIRA)" <ji...@apache.org> on 2018/07/02 15:43:00 UTC

[jira] [Resolved] (OAK-7598) CopyOnWriteDirectory.COWRemoteFileReference#checkIfLocalValid logs WARN for segments.gen

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

Vikas Saurabh resolved OAK-7598.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 1.9.5

Avoided WARN logs for files meant to be read only from remote.

> CopyOnWriteDirectory.COWRemoteFileReference#checkIfLocalValid logs WARN for segments.gen
> ----------------------------------------------------------------------------------------
>
>                 Key: OAK-7598
>                 URL: https://issues.apache.org/jira/browse/OAK-7598
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: lucene
>    Affects Versions: 1.9.0, 1.8.2
>            Reporter: Vikas Saurabh
>            Assignee: Vikas Saurabh
>            Priority: Minor
>             Fix For: 1.10, 1.9.5
>
>
> segments.gen is expected to be always read from repository but the way {{CopyOnWriteDirectory.COWRemoteFileReference#openInput}} calls {{checkIfLocalValid}} and additional logs due to OAK-7222 the system logs unnecessary log for invalid local segments.gen.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)