You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by GitBox <gi...@apache.org> on 2025/09/18 10:57:30 UTC
[GH] (rocketmq/remove_randomAccessFile): Workflow run "Build and Run Tests by Bazel" failed!
The GitHub Actions job "Build and Run Tests by Bazel" on rocketmq.git/remove_randomAccessFile has failed.
Run started by GitHub user RongtongJin (triggered by RongtongJin).
Head commit for run:
dbe670b00d9847e28d57cf2306bd0c7fda110d24 / RongtongJin <ji...@mails.ucas.ac.cn>
refactor: replace RandomAccessFile with FileChannel for better I/O performance
- Remove RandomAccessFile field and related logic completely
- Use FileChannel for all write operations when writeWithoutMmap is enabled
- Change SharedByteBuffer to use direct memory allocation (ByteBuffer.allocateDirect)
- Add RunningFlags support for better error handling
- Improve constructor design with better parameter handling
- Fix SharedByteBuffer write operation to ensure correct byte count
This change improves I/O performance by:
1. Eliminating the overhead of RandomAccessFile
2. Using direct memory allocation for better memory management
3. Providing more consistent I/O operations through FileChannel
4. Better error handling with RunningFlags integration
Report URL: https://github.com/apache/rocketmq/actions/runs/17826392868
With regards,
GitHub Actions via GitBox