Skip to main content

Module handles

Module handles 

Source
Expand description

The cleanup handles an attempt registers: what its cleanup needs that only existed in the attempt (see archive/PROJECT.md, Per-task cleanup). Masked as outputs are (decision 222), at most MAX_HANDLES_SIZE in all (decision 228).

Structs§

AttemptHandles
An attempt’s handles, in registration order.
HandleSink
Told each handle once it is journaled, with its place, to send it on to the master.

Enums§

HandleError
Why a handle isn’t registered.

Constants§

MAX_HANDLES_SIZE
The most an attempt’s handles may take as JSON, in bytes: 1 MiB, less room for what wraps them, so that schedr task-ctx cleanup list can read back all that was accepted, in one message of the context channel. They also travel with an assignment (cleanup_anywhere), within a worker’s 4 MiB message.

Type Aliases§

SendHandle
How a HandleSink sends a handle on.