kfaraz commented on code in PR #16799:
URL: https://github.com/apache/druid/pull/16799#discussion_r1690829157
##########
server/src/main/java/org/apache/druid/rpc/indexing/OverlordClient.java:
##########
@@ -180,15 +181,13 @@ ListenableFuture<CloseableIterator<TaskStatusPlus>>
taskStatuses(
ListenableFuture<CloseableIterator<SupervisorStatus>> supervisorStatuses();
/**
- * Returns a list of intervals locked by higher priority conflicting lock
types
+ * Returns a list of Locks of higher priority with conflicting intervals
*
* @param lockFilterPolicies List of all filters for different datasources
- * @return Map from datasource name to list of intervals locked by tasks
that have a conflicting lock type with
+ * @return Map from datasource name to list of locks held by tasks that have
conflicting intervals with
* priority greater than or equal to the {@code minTaskPriority} for that
datasource.
*/
- ListenableFuture<Map<String, List<Interval>>> findLockedIntervals(
- List<LockFilterPolicy> lockFilterPolicies
- );
+ ListenableFuture<Map<String, List<TaskLockInfo>>>
findConflictingLockInfos(List<LockFilterPolicy> lockFilterPolicies);
Review Comment:
```suggestion
ListenableFuture<Map<String, List<TaskLockInfo>>>
findConflictingLocks(List<LockFilterPolicy> lockFilterPolicies);
```
--
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]