Benoit Tellier created JAMES-3931:
-------------------------------------
Summary: 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
https://www.mail-archive.com/[email protected]/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 [email protected] 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 [email protected] 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: [email protected]
For additional commands, e-mail: [email protected]