jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davide Giannella (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (OAK-6635) IndexReader closed exception in DocumentQueue
Date Fri, 29 Sep 2017 10:10:10 GMT

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

Davide Giannella closed OAK-6635.
---------------------------------

Bulk close for 1.7.8

> IndexReader closed exception in DocumentQueue
> ---------------------------------------------
>
>                 Key: OAK-6635
>                 URL: https://issues.apache.org/jira/browse/OAK-6635
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: lucene
>    Affects Versions: 1.6.5
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>            Priority: Blocker
>              Labels: candidate_oak_1_6
>             Fix For: 1.8, 1.7.8
>
>         Attachments: OAK-6635-v1.patch
>
>
> Even after fix for OAK-6572 following exception is being seen in some cases
> {noformat}
> 05.09.2017 23:06:15.489 *ERROR* [oak-lucene-3] org.apache.jackrabbit.oak.plugins.index.lucene.hybrid.DocumentQueue
Uncaught exception
> org.apache.lucene.store.AlreadyClosedException: this IndexReader is closed
> 	at org.apache.lucene.index.IndexReader.decRef(IndexReader.java:233)
> 	at org.apache.jackrabbit.oak.plugins.index.lucene.IndexNodeManager.decrementSearcherUsageCount(IndexNodeManager.java:255)
> 	at org.apache.jackrabbit.oak.plugins.index.lucene.IndexNodeManager.access$400(IndexNodeManager.java:52)
> 	at org.apache.jackrabbit.oak.plugins.index.lucene.IndexNodeManager$IndexNodeImpl.release(IndexNodeManager.java:286)
> 	at org.apache.jackrabbit.oak.plugins.index.lucene.hybrid.DocumentQueue.processDocs(DocumentQueue.java:275)
> 	at org.apache.jackrabbit.oak.plugins.index.lucene.hybrid.DocumentQueue.addDocsToIndex(DocumentQueue.java:214)
> 	at org.apache.jackrabbit.oak.plugins.index.lucene.hybrid.DocumentQueue.access$500(DocumentQueue.java:55)
> 	at org.apache.jackrabbit.oak.plugins.index.lucene.hybrid.DocumentQueue$2$1.call(DocumentQueue.java:121)
> 	at org.apache.jackrabbit.oak.plugins.index.lucene.hybrid.DocumentQueue$2$1.call(DocumentQueue.java:96)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at java.lang.Thread.run(Thread.java:745)
> {noformat}
> This also causes the lock to be not released prevent async index from further updates



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message