You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2026/04/03 14:19:57 UTC

(doris) branch branch-4.1 updated: branch-4.1: [fix](snapshot) skip link binlog files if binlog is not enabled #61949 (#62014)

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

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


The following commit(s) were added to refs/heads/branch-4.1 by this push:
     new 860603a0be4 branch-4.1: [fix](snapshot) skip link binlog files if binlog is not enabled #61949 (#62014)
860603a0be4 is described below

commit 860603a0be447f26048b725e2c3ece6600490d67
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Fri Apr 3 22:19:49 2026 +0800

    branch-4.1: [fix](snapshot) skip link binlog files if binlog is not enabled #61949 (#62014)
    
    Cherry-picked from #61949
    
    Co-authored-by: walter <ma...@selectdb.com>
---
 be/src/storage/snapshot/snapshot_manager.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/storage/snapshot/snapshot_manager.cpp b/be/src/storage/snapshot/snapshot_manager.cpp
index 76dd66b955e..64879684ff3 100644
--- a/be/src/storage/snapshot/snapshot_manager.cpp
+++ b/be/src/storage/snapshot/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: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org