-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add validation for an optional queue argument when a job is submitted. The queue is first checked to exist in the queues map. It is then checked to determine if it is a valid queue for a user/bank to specify when submitting their job. If no queue is specified, the plugin will look for a "default" queue and use its associated priority. If no default queue is added, jobs trying to use this default queue will be rejected with a message saying that no default queue exists. It is up to the sys admin or scheduler operator to ensure that at least a default queue exists in the queue_table of the flux-accounting DB. If all checks pass, the queue's associated integer priority is added to the bank_info struct for the user/bank job.
- Loading branch information
Showing
1 changed file
with
105 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters