/*
$Log$
+Revision 1.38 2007/04/12 08:26:18 jgrosseo
+updated comment
+
Revision 1.37 2007/04/10 16:53:14 jgrosseo
redirecting sub detector stdout, stderr to sub detector log file
return kFALSE;
}
- AliInfo("Storing OCDB data ...");
- Bool_t resultCDB = StoreOCDB(fgkMainCDB);
-
AliInfo("Storing reference data ...");
Bool_t resultRef = StoreOCDB(fgkMainRefStorage);
AliInfo("Storing reference files ...");
Bool_t resultRefFiles = StoreRefFilesToGrid();
+ AliInfo("Storing OCDB data ...");
+ Bool_t resultCDB = StoreOCDB(fgkMainCDB);
+
return resultCDB && resultRef && resultRefFiles;
}
TObjArray* gridIds=0;
Bool_t result = kTRUE;
+ // to check whether all files have been transferred, or some files were left behind
+ // because the run is not first unprocessed
+ Bool_t willDoAgain = kFALSE;
const char* type = 0;
TString localURI;
Log("SHUTTLE", Form("StoreOCDB - %s: object %s has validity infinite but "
"there are previous unprocessed runs!",
fCurrentDetector.Data(), aLocId.GetPath().Data()));
+ willDoAgain=kTRUE;
continue;
}
}
}
localEntries->Clear();
+
+ if(result && willDoAgain) {
+ Log(fCurrentDetector.Data(),
+ "Some files have been left on local storage, will try again later!");
+ result = kFALSE;
+ }
return result;
}
TString body = Form("Dear %s expert(s), \n\n", fCurrentDetector.Data());
body += Form("SHUTTLE just detected that your preprocessor "
- "exited with ERROR state in run %d!!\n\n", GetCurrentRun());
+ "FAILED after %d retries in run %d!!\n\n", fConfig->GetMaxRetries(), GetCurrentRun());
body += Form("Please check %s status on the web page asap!\n\n", fCurrentDetector.Data());
body += Form("The last 10 lines of %s log file are following:\n\n");