Skip to content

Conversation

HapiHaha
Copy link

When compressing log files in the mode of direct write to O-DIECT, there may be a problem of log compression errors that cannot be correctly decompressed. The issue was fixed by modifying the padding.
image

Problem

The original code erroneously placed a 512-byte padding area at the front of the buffer. This overwrote the data structures written at the front, leading to file corruption and failure in decompression.

Solution

Move the 512-byte padding area to the end of the buffer instead of the front.

Impact

This fixes the file corruption issue and ensures correct decompression.

syang0 and others added 3 commits July 19, 2025 13:37
Removed unused header <asm/unistd.h> in Util.h
…ere may be a problem of log compression errors that cannot be correctly decompressed. The issue was fixed by modifying the padding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants