void BaseShadow::reconnectFailed( const char* reason ) { // try one last time to release the claim, write a UserLog event // about it, and exit with a special status. dprintf( D_ALWAYS, "Reconnect FAILED: %s\n", reason ); logReconnectFailedEvent( reason ); // if the shadow was born disconnected, exit with // JOB_RECONNECT_FAILED so the schedd can make // an accurate restart report. otherwise just // exist with JOB_SHOULD_REQUEUE. if ( attemptingReconnectAtStartup ) { dprintf(D_ALWAYS,"Exiting with JOB_RECONNECT_FAILED\n"); // does not return DC_Exit( JOB_RECONNECT_FAILED ); } else { dprintf(D_ALWAYS,"Exiting with JOB_SHOULD_REQUEUE\n"); // does not return DC_Exit( JOB_SHOULD_REQUEUE ); } // Should never get here.... ASSERT(true); }
void BaseShadow::reconnectFailed( const char* reason ) { // try one last time to release the claim, write a UserLog event // about it, and exit with a special status. dprintf( D_ALWAYS, "Reconnect FAILED: %s\n", reason ); logReconnectFailedEvent( reason ); // does not return DC_Exit( JOB_SHOULD_REQUEUE ); }