You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2021/11/01 04:49:08 UTC

[incubator-doris] 05/07: [Bug] Fix failure to stop sync job (#6950)

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

morningman pushed a commit to branch branch-0.15
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git

commit 162b9dc829b6ed4217868d5f6086868d9dc22b32
Author: xy720 <22...@users.noreply.github.com>
AuthorDate: Sat Oct 30 18:17:15 2021 +0800

    [Bug] Fix failure to stop sync job (#6950)
---
 fe/fe-core/src/main/java/org/apache/doris/load/sync/SyncLifeCycle.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/load/sync/SyncLifeCycle.java b/fe/fe-core/src/main/java/org/apache/doris/load/sync/SyncLifeCycle.java
index 8d98c14..227f175 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/load/sync/SyncLifeCycle.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/load/sync/SyncLifeCycle.java
@@ -55,7 +55,7 @@ public abstract class SyncLifeCycle {
     }
 
     public void stop() {
-        if (isStart()) {
+        if (!isStart()) {
             // Repeated stops are considered successful
             return;
         }

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