Project

General

Profile

Actions

Bug #5750

closed

Index queue and delete action can conflict with one another

Added by ben leinfelder over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Normal
Category:
metacat
Target version:
Start date:
11/26/2012
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5750

Description

During DataONE CN replication testing, Chris was seeing delete/archive actions fail due to dangling FKs in the xml_index table. I theory is that the asynchronous indexing queue is inserting this entry after the delete action has tried to remove FK references but before the actual xml_documents removal is performed.

I think the long-term solution should be to inspect the index queue during a delete() action and remove the docid from the queue if it is present.

Actions #1

Updated by ben leinfelder over 11 years ago

There's now a call to remove the indexing queue task for a docid that is being deleted.

Actions #2

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 5750

Actions

Also available in: Atom PDF