Skip to content
  • David Anderson's avatar
    Remote job submission: allow efficient batch query · 01b78c71
    David Anderson authored
    The batch query call used by Condor (query_batch_set(), in the C++ API)
    returned info about all the jobs in the set of batches,
    even those that hadn't changed.
    This is potentially inefficient - a query might return info
    about 10,000 jobs, only a few (or none) of which have changed state
    since the last call.
    
    Solution: add a "min_mod_time" parameter to the call.
    Only jobs that have changed state since that time are reported.
    Also, add a "server_time" field to the return,
    giving the current time on the server
    (in case there's clock skew between client and server)
    
    Also, fix some text scrambling introduced in previous checkin;
    there must have been a gremlin in my vim.
    01b78c71