Opened 15 years ago

Closed 14 years ago

#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)

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.

Change History (4)

comment:1 Changed 15 years ago by Gavin

Description: modified (diff)

comment:2 Changed 15 years ago by Gavin

Description: modified (diff)

comment:3 Changed 14 years ago by Gavin

Description: modified (diff)

comment:4 Changed 14 years ago by Gavin

Resolution: fixed
Status: newclosed

Fix applied in r622.

Note: See TracTickets for help on using tickets.