Skip to content

Commit 3dc3a33

Browse files
authored
Improved documentation for processing state and paused Workers (dask#4985)
1 parent 60cb52f commit 3dc3a33

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

docs/source/scheduling-state.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ Tasks flow along the following states with the following allowed transitions:
6666
* *No-worker*: Ready to be computed, but no appropriate worker exists
6767
(for example because of resource restrictions, or because no worker is
6868
connected at all).
69-
* *Processing*: Actively being computed by one or more workers
69+
* *Processing*: All dependencies are available and the task is assigned to a
70+
worker for compute (the scheduler doesn't know whether it's in a worker
71+
queue or actively being computed).
7072
* *Memory*: In memory on one or more workers
7173
* *Erred*: Task computation, or one of its dependencies, has encountered an error
7274
* *Forgotten* (not actually a state): Task is no longer needed by any client

docs/source/worker.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,10 @@ usage then the worker will start dumping unused data to disk, even if internal
225225
Halt worker threads
226226
~~~~~~~~~~~~~~~~~~~
227227

228-
At 80% load, the worker's thread pool will stop accepting new tasks. This
229-
gives time for the write-to-disk functionality to take effect even in the face
230-
of rapidly accumulating data.
228+
At 80% load, the worker's thread pool will stop starting computation on
229+
additional tasks in the worker's queue. This gives time for the write-to-disk
230+
functionality to take effect even in the face of rapidly accumulating data.
231+
Currently executing tasks continue to run.
231232

232233

233234
Kill Worker

0 commit comments

Comments
 (0)