Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -588,8 +588,8 @@ public double getMemoryBasedSlowDownThreshold()
return memoryBasedSlowDownThreshold;
}

@Config("task.memory-based-slowdown-threshold")
@ConfigDescription("Pause processing new leaf split if heap memory usage crosses the threshold")
@Config("experimental.task.memory-based-slowdown-threshold")
@ConfigDescription("Pause processing new leaf split if heap memory usage crosses the threshold. This feature is experimental and use it with caution as could lead to deadlock.")
public TaskManagerConfig setMemoryBasedSlowDownThreshold(double memoryBasedSlowDownThreshold)
{
this.memoryBasedSlowDownThreshold = memoryBasedSlowDownThreshold;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public void testExplicitPropertyMappings()
.put("task.legacy-lifespan-completion-condition", "true")
.put("task.task-priority-tracking", "QUERY_FAIR")
.put("task.interrupt-runaway-splits-timeout", "599s")
.put("task.memory-based-slowdown-threshold", "0.9")
.put("experimental.task.memory-based-slowdown-threshold", "0.9")
.build();

TaskManagerConfig expected = new TaskManagerConfig()
Expand Down