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

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


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new 83b81c129f4 [fix](move-memtable) fix auto partition load issue caused 
by #42039 (#42484) (#42486)
83b81c129f4 is described below

commit 83b81c129f4d15032986e3bea5fdd59e32c3b2cd
Author: Kaijie Chen <c...@apache.org>
AuthorDate: Fri Oct 25 18:27:00 2024 +0800

    [fix](move-memtable) fix auto partition load issue caused by #42039 
(#42484) (#42486)
    
    backport #42484
---
 be/src/vec/sink/load_stream_map_pool.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/vec/sink/load_stream_map_pool.cpp 
b/be/src/vec/sink/load_stream_map_pool.cpp
index d6dddcc96dc..dc78d306e70 100644
--- a/be/src/vec/sink/load_stream_map_pool.cpp
+++ b/be/src/vec/sink/load_stream_map_pool.cpp
@@ -107,7 +107,7 @@ bool LoadStreamMap::release() {
 
 void LoadStreamMap::close_load(bool incremental) {
     for (auto& [dst_id, streams] : _streams_for_node) {
-        if (streams->is_incremental()) {
+        if (streams->is_incremental() != incremental) {
             continue;
         }
         std::vector<PTabletID> tablets_to_commit;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to