You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by kx...@apache.org on 2023/06/21 06:56:40 UTC

[doris] branch master updated: [fix](load) segcompaction does not signal waiters when an error hanppens (#21043)

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 <98...@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-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org