directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <>
Subject [jira] [Commented] (DIRSERVER-1790) When we restart the server, some user index are lost
Date Tue, 15 Jan 2013 18:52:14 GMT


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
- 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:
>             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:

View raw message