Skip to content

Commit

Permalink
Clarify config descriptions and add TODO comments
Browse files Browse the repository at this point in the history
  • Loading branch information
losipiuk committed Sep 30, 2024
1 parent 9f3f3e5 commit f31006c
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,9 @@ public NodeSchedulerConfig setOptimizedLocalScheduling(boolean optimizedLocalSch
return this;
}

// TODO: respect in pipelined mode
@Config("node-scheduler.allowed-no-matching-node-period")
@ConfigDescription("How long scheduler should wait before failing a query for which hard task requirements (e.g. node exposing specific catalog) cannot be satisfied")
@ConfigDescription("How long scheduler should wait before failing a query for which hard task requirements (e.g. node exposing specific catalog) cannot be satisfied. Relevant for TASK retry policy only.")
public NodeSchedulerConfig setAllowedNoMatchingNodePeriod(Duration allowedNoMatchingNodePeriod)
{
this.allowedNoMatchingNodePeriod = allowedNoMatchingNodePeriod;
Expand All @@ -195,8 +196,9 @@ public Duration getAllowedNoMatchingNodePeriod()
return allowedNoMatchingNodePeriod;
}

// TODO: respect in pipelined mode
@Config("node-scheduler.exhausted-node-wait-period")
@ConfigDescription("Maximum time to wait for resource availability on preferred nodes before scheduling a remotely accessible split on other nodes")
@ConfigDescription("Maximum time to wait for resource availability on preferred nodes before scheduling a remotely accessible split on other nodes. Relevant for TASK retry policy only.")
public NodeSchedulerConfig setExhaustedNodeWaitPeriod(Duration exhaustedNodeWaitPeriod)
{
this.exhaustedNodeWaitPeriod = exhaustedNodeWaitPeriod;
Expand Down

0 comments on commit f31006c

Please sign in to comment.