Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix](cluster key) fix cluster key schema change (#45203)
Problem Summary: for schema change: add a key in the tail of all keys, may get: ``` F20241209 14:52:09.513403 3166619 segment_writer.cpp:1309] Check failed: key.compare(last_key) >= 0 key is not sorted! current key: ^A^B06olTqiL2rEn48nTpmP8, last key: ^B^@^OЭ^BxsmIHehvUnv *** Check failure stack trace: *** @ 0x563674f2dcc6 google::LogMessage::SendToLog() @ 0x563674f2a710 google::LogMessage::Flush() @ 0x563674f2e509 google::LogMessageFatal::~LogMessageFatal() @ 0x56366a8a72c0 doris::segment_v2::SegmentWriter::_generate_short_key_index() @ 0x56366a8a6032 doris::segment_v2::SegmentWriter::append_block() @ 0x56366a7624c9 doris::SegmentCreator::add_block() @ 0x56366a731d35 doris::BaseBetaRowsetWriter::add_block() @ 0x56366a94a233 doris::VSchemaChangeDirectly::_inner_process() @ 0x56366a95d558 doris::SchemaChange::process() @ 0x56366a9511e5 doris::SchemaChangeJob::_convert_historical_rowsets() @ 0x56366a94e5e2 doris::SchemaChangeJob::_do_process_alter_tablet() @ 0x56366a94cf22 doris::SchemaChangeJob::process_alter_tablet() @ 0x563669e9e857 doris::alter_tablet_callback() ```
- Loading branch information