Skip to content

Commit b96e70b

Browse files
committed
rfc43: add job-list 'ranks' constraint
Problem: A hostlist constraint operator is defined in the set of supported job-list constraint operators, but there is no corresponding ranks constraint. The ranks constraint is useful not only in test instances where multiple ranks may share the same hostname, but also in cases where a specific rank is to be queried without dependence on hostname (e.g. rank 0). Define a supported `ranks` constraint operator in RFC 43.
1 parent b918c6e commit b96e70b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spec_43.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,9 @@ based on the following constraint operators.
212212
``hostlist``
213213
Designate one or more nodes in RFC 29 Hostlist format (*string*) and match jobs assigned to those nodes. The job list module MAY limit the number of entries in a hostlist constraint to prevent long constraint match times.
214214

215+
``ranks``
216+
Designate one or more broker ranks in RFC 22 Idset form (*string*) and match jobs that were assigned to one or more of those ranks. The job list module MAY limit the number of entries in a ranks constraint to prevent long constraint match times.
217+
215218
``t_submit``, ``t_depend``, ``t_run``, ``t_cleanup``, ``t_inactive``
216219
Designate one timestamp with a REQUIRED prefixed comparison operator (*string*). The accepted comparison operators SHALL be `>`, `<`, `>=`, and `<=`, for greater than, less than, greater than or equal, or less than or equal. A timestamp operator SHALL match jobs where the respective timestamp matches against the provided timestamp.
217220

0 commit comments

Comments
 (0)