cryptoe commented on code in PR #15377:
URL: https://github.com/apache/druid/pull/15377#discussion_r1393681116
##########
indexing-service/src/main/java/org/apache/druid/indexing/overlord/TaskStorageQueryAdapter.java:
##########
@@ -104,7 +104,14 @@ public List<TaskStatusPlus> getTaskStatusPlusList(
public Optional<Task> getTask(final String taskid)
{
- return storage.getTask(taskid);
+ // Try to fetch active task from memory
+ final Task activeTask = taskLockbox.getActiveTask(taskid);
Review Comment:
I thought this should always be called under the giant lock no ?
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]