rocketmq icon indicating copy to clipboard operation
rocketmq copied to clipboard

[ISSUE #8017] fix: fix tiered store PosixFileSegment memory leak

Open bxfjb opened this issue 1 year ago • 0 comments

Which Issue(s) This PR Fixes

Fixes #8017

Brief Description

  • Using MappedByteBuffer in PosixFileSegment instead of FileChannel.write() or FileChannel.read() functions; avoiding FileChannel.transferFrom as it has been tested to perform poorly.

How Did You Test This Change?

See #8017

bxfjb avatar Apr 18 '24 06:04 bxfjb