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

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


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

commit 105a05eaaa0bd5c3dc91871bebb18a0675630ef9
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Dec 8 11:32:10 2025 +0800

    branch-3.1: [fix](cloud compaction) horizontal compaction coredump due to 
tablet shard_ptr not initialized #58751 (#58761)
    
    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 fc86130113d..5fec6c8b787 100644
--- a/be/src/olap/compaction.cpp
+++ b/be/src/olap/compaction.cpp
@@ -1506,6 +1506,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