rocketmq
rocketmq copied to clipboard
[ISSUE #8017] fix: fix tiered store PosixFileSegment memory leak
Which Issue(s) This PR Fixes
Fixes #8017
Brief Description
- Using
MappedByteBufferinPosixFileSegmentinstead ofFileChannel.write()orFileChannel.read()functions; avoidingFileChannel.transferFromas it has been tested to perform poorly.
How Did You Test This Change?
See #8017