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

kxiao 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 c5560b8f93 [fix](load) segcompaction does not signal waiters when an 
error hanppens (#21043)
c5560b8f93 is described below

commit c5560b8f936554a2c564546d7dfd268e1bc37876
Author: Yongqiang YANG <98214048+dataroar...@users.noreply.github.com>
AuthorDate: Wed Jun 21 14:56:34 2023 +0800

    [fix](load) segcompaction does not signal waiters when an error hanppens 
(#21043)
    
    This leads to a deadlock.
---
 be/src/olap/rowset/segcompaction.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/olap/rowset/segcompaction.cpp 
b/be/src/olap/rowset/segcompaction.cpp
index 369a7ccd64..c9485e5500 100644
--- a/be/src/olap/rowset/segcompaction.cpp
+++ b/be/src/olap/rowset/segcompaction.cpp
@@ -302,7 +302,7 @@ void 
SegcompactionWorker::compact_segments(SegCompactionCandidatesSharedPtr segm
         case SEGCOMPACTION_INIT_READER:
         case SEGCOMPACTION_INIT_WRITER:
             LOG(WARNING) << "segcompaction failed, try next time:" << status;
-            return;
+            break;
         default:
             auto ctx = _writer->_context;
             LOG(WARNING) << "segcompaction fatal, terminating the write job."


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

Reply via email to