From 1542d53904849df55b538fcfceb895271359fa9b Mon Sep 17 00:00:00 2001 From: honestmanxin Date: Fri, 5 Dec 2025 11:49:43 +0800 Subject: [PATCH] [fix](cloud compaction) horizontal compaction coredump due to tablet shard_ptr not initialized --- be/src/olap/compaction.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/be/src/olap/compaction.cpp b/be/src/olap/compaction.cpp index 6c72f5152e33ca..07de64b49e7719 100644 --- a/be/src/olap/compaction.cpp +++ b/be/src/olap/compaction.cpp @@ -1716,6 +1716,7 @@ Status CloudCompactionMixin::construct_output_rowset_writer(RowsetWriterContext& ctx.write_file_cache = should_cache_compaction_output(); ctx.file_cache_ttl_sec = _tablet->ttl_seconds(); ctx.approximate_bytes_to_write = _input_rowsets_total_size; + ctx.tablet = _tablet; _output_rs_writer = DORIS_TRY(_tablet->create_rowset_writer(ctx, _is_vertical)); RETURN_IF_ERROR(