Opened 12 years ago

Closed 12 years ago

#832 closed defect (fixed)

Metadata records with hundreds+ of local xlinks take far too long to process

Reported by: simonp Owned by: geonetwork-devel@…
Priority: major Milestone: v2.7.0
Component: General Version:
Keywords: Cc:

Description

Large metadata records may have hundreds+ local xlinks (eg. <grg:itemClass xlink:href="#Item_Class"/>) many of which are links to the same element. searchLocalXLink is a bit dim - it just looks them up even if it has already done that thousands of times already. This is too slow - large documents with many local xlinks take more than two minutes to resolve. Fix is to keep a record of those we've already looked up and use that before we try a new lookup.

Change History (1)

comment:1 by simonp, 12 years ago

Resolution: fixed
Status: newclosed

Fix is in svn commit rev 8900

Note: See TracTickets for help on using tickets.