This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new f479191 [Bug] Fix failure to stop sync job (#6950)
f479191 is described below
commit f47919136a4eaba3806d52723b019c6ca933b0e4
Author: xy720 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]