Opened 11 months ago
Closed 11 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.
Note:
See TracTickets
for help on using tickets.
In 7301: