You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by la...@apache.org on 2023/12/27 11:11:29 UTC

(iotdb) branch sourceHandleTypo created (now c41d551aaf5)

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

lancelly pushed a change to branch sourceHandleTypo
in repository https://gitbox.apache.org/repos/asf/iotdb.git


      at c41d551aaf5 fix missing synchronized on abort

This branch includes the following new commits:

     new c41d551aaf5 fix missing synchronized on abort

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(iotdb) 01/01: fix missing synchronized on abort

Posted by la...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

lancelly pushed a commit to branch sourceHandleTypo
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit c41d551aaf54c5e836191705e06f8dbe7f57a080
Author: lancelly <14...@qq.com>
AuthorDate: Wed Dec 27 19:11:04 2023 +0800

    fix missing synchronized on abort
---
 .../iotdb/db/queryengine/execution/exchange/source/SourceHandle.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/exchange/source/SourceHandle.java b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/exchange/source/SourceHandle.java
index e7c25d14c04..78de2ecf386 100644
--- a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/exchange/source/SourceHandle.java
+++ b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/exchange/source/SourceHandle.java
@@ -359,7 +359,7 @@ public class SourceHandle implements ISourceHandle {
   }
 
   @Override
-  public void abort(Throwable t) {
+  public synchronized void abort(Throwable t) {
     try (SetThreadName sourceHandleName = new SetThreadName(threadName)) {
       if (aborted || closed) {
         return;