Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

Possible locking issue after rebuilding a repository #4

Open
GoogleCodeExporter opened this issue Apr 15, 2015 · 1 comment
Open

Possible locking issue after rebuilding a repository #4

GoogleCodeExporter opened this issue Apr 15, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

I was working with a larger repository (around 3.5 million documents) and I 
thought I noticed that after doing a full rebuild (calling 
BeginRebuildRepository) but before the active index got rolled over to newly 
rebuilt one, it seemed like I couldn't search. So it had to have been in 
IndexManager.RebuildRepository after the call to OnRebuildRepository but 
before OpenBestRepository.

The only thing it could've been doing during that time is flushing and 
optimizing but that should all be done on the background index which wouldn't 
be accessible to searchers until it's all ready to go. So I'm not sure what 
caused the locking behavior. As soon as the index got flipped over, 
everything was fine.

Original issue reported on code.google.com by [email protected] on 9 Apr 2010 at 2:28

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 8 Aug 2011 at 4:49

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant