Ticket #832 (closed defect: fixed)

Opened 14 months ago

Last modified 14 months ago

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

Changed 14 months ago by simonp

  • status changed from new to closed
  • resolution set to fixed

Fix is in svn commit rev 8900

Note: See TracTickets for help on using tickets.