Modified the function check_and_run_job to check for a NULL pa
after the call to get_jobs_array(). This prevents a segfault that
was reported in TRQ-1635.
Merged fix from the trunk for TRQ-1595: Not able to submit jobs when XT is down.
Merge branch '4.1-dev' of https://github.com/adaptivecomputing/torque into 4.1-dev
TRQ-1624. Add some additional protection against pbs_server deleting valid, running jobs. This was happening due to a false positive - pbs_server thought the mom said that the job no longer existed, when in reality the mom was sending its own update to pbs_server and so it didn't process the incoming connection from pbs_server.
Merge branch '4.1-dev' of https://github.com/adaptivecomputing/torque into 4.1-dev
TRQ-1615. Verify that the node wasn't deleted when re-acquiring it after processing the status request.
TRQ-1605. The routing retry thread was exiting each time after retrying all of the routing. Change this to not exit and to route each routing queue individually.