forked from flux-framework/flux-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
job-manager/history: handle root history
Problem: the history jobtap plugin uses an integer userid as a hash key, but the hash implementation won't accept a NULL key, so the root history cannot be stored. This results in errors like: jobtap: job.new: callback returned error jobtap: job.inactive.add: callback returned error Map userid 0 to (uid_t)-1 since that value is reserved in POSIX. Fixes flux-framework#5475
- Loading branch information
Showing
1 changed file
with
29 additions
and
8 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