AmatyaAvadhanula commented on code in PR #12404:
URL: https://github.com/apache/druid/pull/12404#discussion_r860714052


##########
core/src/main/java/org/apache/druid/metadata/MetadataStorageActionHandler.java:
##########
@@ -99,6 +103,30 @@ List<TaskInfo<EntryType, StatusType>> getTaskInfos(
       @Nullable String datasource
   );
 
+  /**
+   * Returns a list of TaskStatusPlus for the tasks corresponding to the given 
filters
+   *
+   * If {@code taskLookups} includes {@link TaskLookupType#ACTIVE}, it returns 
all active tasks in the metadata store.
+   * If {@code taskLookups} includes {@link TaskLookupType#COMPLETE}, it 
returns all complete tasks in the metadata
+   * store. For complete tasks, additional filters in {@code 
CompleteTaskLookup} can be applied.
+   * All lookups should be processed atomically if there are more than one 
lookup is given.

Review Comment:
   done



-- 
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]

Reply via email to