[ 
https://issues.apache.org/jira/browse/JAMES-3931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17744874#comment-17744874
 ] 

Benoit Tellier commented on JAMES-3931:
---------------------------------------

First investigations shows that it is not the shutdown sequence that get rids 
of the Lucene files but the startup one...

> Lucene indexes seems to be lost on reboot
> -----------------------------------------
>
>                 Key: JAMES-3931
>                 URL: https://issues.apache.org/jira/browse/JAMES-3931
>             Project: James Server
>          Issue Type: Bug
>    Affects Versions: master, 3.8.0
>            Reporter: Benoit Tellier
>            Priority: Major
>              Labels: bug
>
> https://www.mail-archive.com/server-user@james.apache.org/msg16819.html
> I reproduced the behaviour you mentionned on my side.
>  - Start the demo image
>  - append a few mails
> List files. There is some Lucene files:
> {code:java}
> -rw-r--r-- 1 root root 3.1K Jul 20 02:10 _k.fdt
> -rw-r--r-- 1 root root  308 Jul 20 02:10 _k.fdx
> -rw-r--r-- 1 root root  871 Jul 20 02:10 _k.fnm
> -rw-r--r-- 1 root root 6.1K Jul 20 02:10 _k.frq
> -rw-r--r-- 1 root root 1.6K Jul 20 02:10 _k.nrm
> -rw-r--r-- 1 root root 4.5K Jul 20 02:10 _k.prx
> -rw-r--r-- 1 root root  145 Jul 20 02:10 _k.tii
> -rw-r--r-- 1 root root 9.5K Jul 20 02:10 _k.tis
> {code}
> Do a search:
> {code:java}
> $ openssl s_client -host 127.0.0.1 -port 993
> [...]
> a0 LOGIN user02@james.local 1234
> a0 OK LOGIN completed.
> a1 SELECT Drafts
> [...]
> a3 SEARCH SEEN
> * SEARCH 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
> * 1 FETCH (FLAGS (\Draft \Seen))
> * 2 FETCH (FLAGS (\Draft \Seen))
> * 3 FETCH (FLAGS (\Draft \Seen))
> * 19 FETCH (FLAGS (\Draft \Seen))
> a3 OK SEARCH completed.
> {code}
>  - Restart James
> Then I noticed:
>  - Lucene files disappeared
>  - Search no longer yield results
> {code:java}
> $ openssl s_client -host 127.0.0.1 -port 993
> [...]
> a0 LOGIN user02@james.local 1234
> a0 OK LOGIN completed.
> a1 SELECT Drafts
> [...]
> a3 SEARCH SEEN
> a3 OK SEARCH completed.
> {code}
> According to me, deletion of the Lucene files caused the alteration of the 
> search results.
> I do not understand yet what caused the files to disapear, and is looking for 
> "why".



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to