Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.1.0
-
None
Description
FileSystemRepository creates two different ExecutorServices in its constructor. This is problematic because we iterate over the ServiceLoader, which creates an instance of FileSystemRepository and then throws it away.
Instead, these executors should be created in the initialize method.
It should also be documented in the ContentRepository interface that any time that initialize() is called, it is expected that the shutdown() method will also be called, as this is where we can cleanup the things that we did during initialization. This was the intended lifecycle but never was clearly documented.
Attachments
Issue Links
- Is contained by
-
NIFI-632 Documentation Generation: Nar ClassLoader
- Resolved