This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-4.0 by this push:
     new e8076c81eaf branch-4.0: [fix](cloud compaction) horizontal compaction 
coredump due to tablet shard_ptr not initialized #58751 (#58764)
e8076c81eaf is described below

commit e8076c81eaf94d8e2066691fd1e2d3cd26de46a4
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Dec 5 18:18:51 2025 +0800

    branch-4.0: [fix](cloud compaction) horizontal compaction coredump due to 
tablet shard_ptr not initialized #58751 (#58764)
    
    Cherry-picked from #58751
    
    Co-authored-by: HonestManXin <[email protected]>
---
 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 e3fb3b09d15..543fad1f3dd 100644
--- a/be/src/olap/compaction.cpp
+++ b/be/src/olap/compaction.cpp
@@ -1624,6 +1624,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(


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

Reply via email to