lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gaurav Bhardwaj (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENENET-561) After certain size, write.lock file takes time to delete automayically (Lucene Indexes)
Date Wed, 14 Dec 2016 06:05:58 GMT
Gaurav Bhardwaj created LUCENENET-561:
-----------------------------------------

             Summary: After certain size, write.lock file takes time to delete automayically
(Lucene Indexes)
                 Key: LUCENENET-561
                 URL: https://issues.apache.org/jira/browse/LUCENENET-561
             Project: Lucene.Net
          Issue Type: Bug
         Environment: Asp.Net mvc
            Reporter: Gaurav Bhardwaj
            Priority: Critical


We are using the lucene indexes to save the image thumbnail. Its working fine but recently
after running 6-7 months its started throwing error for write.lock file in lucene indexes.
When I went through the error I got to know that:

1) After creating thumbnail image when we save that in lucene indexes then one write.lock
file gets created and then meanwhile(when its storing in lucene indexes) if I create the thumbnail
image for the another image and store in lucene index then Lucene index throws error.

Reason:- After completing the storing operation write.lock file should be deleted automatically
but in the mean time user click on another image and then second operation of storing thumbnail
image in lucene index starts. That's why the first write.lock file does not get deleted and
it throws error.

Note:-
1) My lucene index size is around 1 GB and that's why it's taking time to delete the write.lock
file.

What I did to resolve this issue:-
1) I deleted the lucene indexes and recreated those from scratch and this resolved my error.
When lucene indexes creat from scratch then write.lock file does not take time to delete.

I want to know If there any file size limit for the lucene indexes?
If I need to delete the lucene index after certain file size limit?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message