Opened 6 months ago

Closed 6 months ago

#1507 closed enhancement (fixed)

Load metadata for files when opening the input stream

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: External files support 1.7
Component: net.sf.basedb.xfiles Keywords:
Cc:

Description

When BASE is opening a file for download in the File.getDownloadStream() method it will also make a call to get the metadata (ConnectionManager.getMetadata()). In the current implementation this results in two calls to open the remote file. The ConnectionManager.getInputStream() can prevent this by loading the metadata when the file is first opened.

Change History (1)

comment:1 by Nicklas Nordborg, 6 months ago

Resolution: fixed
Status: newclosed

In 7301:

Fixes #1507: Load metadata for files when opening the input stream

Note: See TracTickets for help on using tickets.