When we update the Xapian database, we grab a write lock on it. If two processes try to update the database at the same time, only one of them is able to get the lock, the other will fail to make any updates.

This patch detects this type of error, and responds accordingly. If immediate indexing is enabled but we fail to grab the write lock, we queue up the node to be indexed on the next cron run.

CommentFileSizeAuthor
xapian.module.patch1.38 KBjeremy

Comments

singularo’s picture

Status: Needs review » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.