Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
In LocalReplicaInPipeline#createStreams, there is a WrappedFileOutputStream created over a WrappedRandomAccessFile. This double layer of instrumentation is unnecessary.
blockOut = fileIoProvider.getFileOutputStream(getVolume(),
fileIoProvider.getRandomAccessFile(getVolume(), blockFile, "rw")
.getFD());