Bug #7701
The InputStream (parameter) in the CN/MN.create and MN.update method is not closed
Start date:
2016-03-29
Due date:
% Done:
100%
Milestone:
None
Product Version:
*
Story Points:
Sprint:
Description
There is a parameter in the in the CN/MN.create and MN.update method. We don't close it in the implementation. It may cause the resource leaking.
History
#1 Updated by Jing Tao over 8 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
We close it on the D1NodeService.insertOrUpdateDocument ( for a science metadata object) or D1NodeService.writeStreamToFile ( for a data object) by IOUtils.closeQuietly method.