Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
job-info: read job data in bulk #2115
This last PR from #2107 supports reading multiple information from a job in bulk via a single RPC. It at first does two RPCs, a guest access check & then information retrieval. Then later commits collapse both RPCs into a single composite RPC.
In addition, some cleanup in
Support the ability to specify multiple pieces of job info (e.g. eventlog, jobspec, J, R) in a request and get all of them back in one request. Adjust RPC for request by sending json array of keys desired.
Refactor the guest access check into the primary info lookup, so that it can be done in parallel to the rest of the job info lookup.
As consequence to combination of guest access check and lookup of in a single composite future, cleanup lookup functions. Various functions no longer need to return a future or take a continuation as an argument. Eliminate the need for lookup_ctx_set_future().
@@ Coverage Diff @@ ## master #2115 +/- ## ========================================== - Coverage 80.27% 80.22% -0.05% ========================================== Files 201 201 Lines 31663 31712 +49 ========================================== + Hits 25417 25441 +24 - Misses 6246 6271 +25