added print statement saying how many retries were needed.
authorrdm <rdm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 26 Jan 2004 10:32:01 +0000 (10:32 +0000)
committerrdm <rdm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 26 Jan 2004 10:32:01 +0000 (10:32 +0000)
RAW/AliRawEvent.cxx

index 5e5efd5..1d1ea47 100644 (file)
@@ -517,6 +517,9 @@ again:
       Error("Create", "failure to open file %s after %d tries", fname, kMaxRetry);
       return kFALSE;
    }
+   if (retry > 1)
+      Warning("Create", "succeeded to open file after %d retries", retry);
+
    if (fRawDB->IsZombie()) {
       if (fRawDB->GetErrno() == ENOSPC ||
           fRawDB->GetErrno() == 1018   ||   // SECOMERR