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

liaoxin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


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

commit b9a287e206fde1f2b2cbd27a3ce6379ba4663443
Author: Kaijie Chen <c...@apache.org>
AuthorDate: Fri Oct 25 18:19:29 2024 +0800

    [fix](move-memtable) fix auto partition load issue caused by #42039 (#42484)
    
    Fix incremental streams is not closed, a bug introduced in #42039
---
 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