Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] rfc21: document job reattach events #303

Closed
wants to merge 1 commit into from
Closed
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
31 changes: 31 additions & 0 deletions spec_21.rst
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,37 @@ status
{"timestamp":1552594348.0,"name":"epilog-finish","context":{"description":"/usr/sbin/job-epilog.sh", "status":0}}


Flux-Reattach Event
^^^^^^^^^^^^^^^^^^^

The job manager has restarted and will attempt to reattach to a running job.

The following keys are OPTIONAL in the event context object:

id
(long long) job ID to reattach to

Example:

.. code:: json

{"timestamp":1636747761.5495925,"name":"flux-reattach","context":{"id":341835776000}}


Reattached Event
^^^^^^^^^^^^^^^^

Job shells have reattached to the job.

The context SHALL be empty.

Example:

.. code:: json

{"timestamp":1636747761.827836,"name":"reattached"}


Free Event
^^^^^^^^^^

Expand Down