Ticket #76 (closed defect: fixed)
Inventory text search stops working sometimes with: Failed to rename index
| Reported by: | Gavin | Owned by: | Gavin |
|---|---|---|---|
| Priority: | major | Milestone: | 0.8 - Purchasing and Inventory Improvements |
| Component: | gnuMims - application general | Version: | trunk |
| Keywords: | Cc: |
Description (last modified by Gavin) (diff)
Strace:
org.compass.core.engine.SearchEngineException: Failed to rename index
This appears to be a Compass issue when the quartz scheduled (hourly) reindex job fires shortly after or while the searchable plugin has cause an index, probably after a user updated a searchable domain object.
Sometimes after a few hours the quartz scheduled rebuild completes successfully but not always.
Problem reported on the internet:
http://markmail.org/message/noaskbbknl3wvwkw
http://issues.compass-project.org/browse/CMP-677
http://forum.compass-project.org/thread.jspa?threadID=215487&start=0&tstart=0
Reported to upstream by us:
https://cvs.codehaus.org/browse/GRAILSPLUGINS-2274
Simply using index() instead of reindex() seems to prevent this bug, gnuMims will also shift to using afterUpdate in appropriate domain classes to fire the quartz index job.
