File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,27 @@ Plugins may be self contained, or may outsource dependency processing to a
6464service outside of the job manager; for example, a separate broker module
6565or an entity that is not part of Flux.
6666
67+ Dependency Event Semantics
68+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
69+
70+ Dependency events SHALL only be posted to the job eventlog by job manager
71+ plugins.
72+
73+ Dependency events SHALL be treated as matching when their ``description ``
74+ fields have the same value.
75+
76+ A dependency SHALL be considered satisfied when matching ``dependency-add ``
77+ and ``dependency-remove `` events have been posted.
78+
79+ Some special semantics for these events are needed to allow plugins
80+ to reacquire their internal state when the job manager is restarted:
81+
82+ Attempts to post duplicate ``dependency-add `` events for unsatisfied
83+ dependencies SHALL NOT raise a plugin error and SHALL NOT be posted.
84+
85+ Attempts to post duplicate ``dependency-add `` events for satisfied
86+ dependencies SHALL raise a plugin error.
87+
6788
6889Representation
6990--------------
You can’t perform that action at this time.
0 commit comments