[
https://issues.apache.org/jira/browse/DIRSERVER-1790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13554135#comment-13554135
]
Emmanuel Lecharny commented on DIRSERVER-1790:
----------------------------------------------
After some investigation, here are some elemets :
- first, the embedded tests work. If we inject some data which are indexed, and
shutdown the DirectoryService, and restart it, the index is still available and
working.
- in standalone mode, although, when we shutdown the server and restart it, the
index are not anymore usable.
That means two things :
- we *may* not save the index correctly when we brutally shutdown the server.
However, in my case, I waited the 15s needed for all the data to be sync() (and
and saw the data being synced)
- we may have some difference duing the init phase for indexes when we are
using the server embedded or standalone.
I'm investigating the second use case atm.
> When we restart the server, some user index are lost
> ----------------------------------------------------
>
> Key: DIRSERVER-1790
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1790
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 2.0.0-M9
> Reporter: Emmanuel Lecharny
> Assignee: Emmanuel Lecharny
> Priority: Blocker
> Fix For: 2.0.0-M10
>
>
> Indexes are not anymore used when the server is restarted. The index was
> available when the server was started the first time, then after a restart,
> even if the index exists on disk, it's not anymore used by the server,
> causing a full scan to be done.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira