luwei16 opened a new pull request, #60547:
URL: https://github.com/apache/doris/pull/60547

   When bitshuffle page header corruption is detected, the current error 
message only shows the corrupted values without any context about which segment 
file is affected. This makes debugging very difficult.
   
   This PR adds:
   1. File path, page offset, page size, and page index to the error log in 
FileColumnIterator::_read_data_page()
   2. Enhanced error message in parse_bit_shuffle_header() to include 
expected_padding, compressed_size, size_of_element, and data_size
   3. Similar logging in IndexedColumnIterator for completeness
   
   Example output after this change:
   W20260130 16:40:19 column_reader.cpp:1517] failed to create ParsedPage,
     file=/path/to/data/tablet_id/rowset_id.dat, page_offset=12345678,
     page_size=65536, page_index=42, error=[INTERNAL_ERROR]num of element
     information corrupted, _num_element_after_padding:1364882540,
     _num_elements:1197762646, expected_padding:1197762648, ...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to