Opened 14 years ago

Last modified 14 years ago

#76 closed defect

Inventory text search stops working sometimes with: Failed to rename index — at Version 3

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 (3)

comment:1 Changed 14 years ago by Gavin

Description: modified (diff)

comment:2 Changed 14 years ago by Gavin

Description: modified (diff)

comment:3 Changed 14 years ago by Gavin

Description: modified (diff)
Note: See TracTickets for help on using tickets.