Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corruption error when doing segment_rewriter in TDE #50060

Open
decster opened this issue Aug 21, 2024 · 0 comments
Open

Corruption error when doing segment_rewriter in TDE #50060

decster opened this issue Aug 21, 2024 · 0 comments
Labels
type/bug Something isn't working

Comments

@decster
Copy link
Contributor

decster commented Aug 21, 2024

Steps to reproduce the behavior (Required)

Corruption error when doing segment_rewriter in TDE

W20240820 21:22:04.954928 140387841468160 lake_service.cpp:226] Fail to publish version: Corruption: Bad segment file staros://22933/data/0000000000000c25_41f92df7-f04f-4c73-ae6d-97223ca9f4aa.dat: magic number not match
be/src/storage/rowset/segment_rewriter.cpp:38 Segment::parse_segment_footer(rfile.get(), &footer, nullptr, &partial_rowset_footer)
be/src/storage/lake/rowset_update_state.cpp:493 SegmentRewriter::rewrite( params.tablet->segment_location(src_path), &file_info, params.tablet_schema, unmodified_column_ids, _partial_update_states[segment_id].write_columns, segment_id, partial_rowset_footer)
be/src/storage/lake/update_manager.cpp:238 state.rewrite_segment(segment_id, params, &replace_segments, &orphan_files)
be/src/storage/lake/txn_log_applier.cpp:119 check_and_recover([&]() { return apply_write_log(log.op_write(), log.txn_id()); }). tablet_id=22933 txn_ids=txn_id: 3109
commit_time: 1724159871
combined_txn_log: true
txn_type: TXN_NORMAL
force_publish: false
 version=55

Expected behavior (Required)

Real behavior (Required)

StarRocks version (Required)

  • You can get the StarRocks version by executing SQL select current_version()
@decster decster added the type/bug Something isn't working label Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant