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 d163717b155 branch-4.0: [fix](snapshot) skip link binlog files if 
binlog is not enabled #61949 (#62013)
d163717b155 is described below

commit d163717b15552ed0491c74cbd771a3ae019f5011
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Apr 15 12:09:17 2026 +0800

    branch-4.0: [fix](snapshot) skip link binlog files if binlog is not enabled 
#61949 (#62013)
    
    Cherry-picked from #61949
    
    Co-authored-by: walter <[email protected]>
---
 be/src/olap/snapshot_manager.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/olap/snapshot_manager.cpp b/be/src/olap/snapshot_manager.cpp
index 684a93b150a..99cdfef83a0 100644
--- a/be/src/olap/snapshot_manager.cpp
+++ b/be/src/olap/snapshot_manager.cpp
@@ -710,7 +710,7 @@ Status SnapshotManager::_create_snapshot_files(const 
TabletSharedPtr& ref_tablet
             break;
         }
 
-        if (!is_copy_binlog) {
+        if (!is_copy_binlog || !target_tablet->is_enable_binlog()) {
             break;
         }
 


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

Reply via email to