Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.9.2
-
None
Description
WriteAheadFlowFileRepository maintains a list of swapLocationSuffixes. This is added to when records are swapped out, and removed from when records are swapped in when the repo is updated[1]. However, the swapFlowFilesIn method[2] appears to be adding instead of removing the specified swap location.
Specifically:
synchronized (this.swapLocationSuffixes) { this.swapLocationSuffixes.add(normalizeSwapLocation(swapLocation)); }
Should be:
synchronized (this.swapLocationSuffixes) { this.swapLocationSuffixes.remove(normalizeSwapLocation(swapLocation)); }
Attachments
Issue Links
- is related to
-
NIFI-4775 Create a FlowFile repo backed by RocksDB
- Resolved
- links to