lancelly commented on code in PR #9640:
URL: https://github.com/apache/iotdb/pull/9640#discussion_r1170222842
##########
server/src/main/java/org/apache/iotdb/db/mpp/execution/schedule/DriverScheduler.java:
##########
@@ -299,13 +299,8 @@ public void abortQuery(QueryId queryId) {
for (Set<DriverTask> fragmentRelatedTasks : queryRelatedTasks.values()) {
if (fragmentRelatedTasks != null) {
for (DriverTask task : fragmentRelatedTasks) {
- task.lock();
- try {
-
task.setAbortCause(DriverTaskAbortedException.BY_QUERY_CASCADING_ABORTED);
- clearDriverTask(task);
- } finally {
- task.unlock();
- }
+
task.setAbortCause(DriverTaskAbortedException.BY_QUERY_CASCADING_ABORTED);
Review Comment:
>
Yes, it seems that the last write wins
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]