MARC import queue gets stuck if starting a second import before "enqueuing" is done

Bug #1832910 reported by Remington Steed
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
New
Undecided
Unassigned

Bug Description

Evergreen 3.3.1
OpenSRF 3.1.0

The new angular MARC Batch Import/Export screen (i.e. Vandelay) allows you to start importing a file into a queue and then move on to another task, checking on its progress via the "Recent Imports" tab. If your next task is another import, however, you can cause the previous import to get stuck.

Problem scenario:

1. Import a large-enough file of MARC records (a couple hundred records should be enough)
2. Quickly start another file import (you need to click "Upload" before the first import has finished "enqueuing")
3. Watch the "Recent Imports" tab. The first import finishes "enqueuing" but never starts importing. The second import goes through both stages correctly.

If you then open the stuck queue, you can resume the process by choosing "Import All Records" and clicking "Upload".

Revision history for this message
Bill Erickson (berick) wrote :

Remington, have you confirmed the server import gets stuck on the server and not just in the Recent Imports interface? I wonder if reloading the Recent Imports tab after it appears to get stuck is sufficient to get it moving again. I've seen some oddities here too and I think it may just be a bug in the new UI code.

Revision history for this message
Remington Steed (rjs7) wrote :

Bill, there are some cases where refreshing the page reveals more progress, but other cases where it makes no difference. My current hypothesis is that the following order of events prevents File 1 from starting to import:

File 1 starts "enqueuing"
File 2 starts "enqueuing"
File 1 finishes enqueuing, but never starts importing
File 2 finishes enqueuing, starts importing
File 1 finishes importing

Revision history for this message
Mary Llewellyn (mllewell) wrote :

Evergreen 3.5 web client

I'm having problems running multiple vandelay loads. I used to do it in XUL.

File 1 will enqueue
File 2 will enqueue
File 1 starts importing
File 2 never finishes enqueuing, never imports. Days later, is still enqueuing, never finishes. Is there a way to stop it?
File 3 (started after File 1 finishes importing) will enqueue and import

Revision history for this message
Jeff Davis (jdavis-sitka) wrote :

I wonder if this is ultimately be the same issue as bug 1271661? We've had similar problems with "competing" Vandelay loads getting bogged down, and I suspect the cause is the high number of locks generated during bib matching, as described in the other bug.

Elaine Hardy (ehardy)
tags: added: cat-importexport
removed: vandelay
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.