message: Use local DefaultStorage in snapshot mode
diff: @@ -76,6 +76,12 @@ void AliTaskCDBconnect::InitGRP()
  AliCDBManager *cdb = AliCDBManager::Instance();
  if (!cdb->IsDefaultStorageSet()) {
  + if (gSystem->AccessPathName("OCDB.root",kFileExists)==0) {
  + cdb->SetDefaultStorage("local://");
  + cdb->SetRaw(kFALSE);
  + cdb->SetSnapshotMode("OCDB.root");
  + }
  + else {
  //
  // automatic setting of year
  Int_t year = -1;
  @@ -89,8 +95,9 @@ void AliTaskCDBconnect::InitGRP()
  else if (fRun<282901) year = 2017;
  else {
  year = 2018;
  - TDatime today;
  - if (today.GetYear()!=year) AliErrorF("Adjust CDB connect, we are now in %d!",today.GetYear());
  + // no more updates needed
  + // TDatime today;
  + // if (today.GetYear()!=year) AliErrorF("Adjust CDB connect, we are now in %d!",today.GetYear());
  }
  //
  Bool_t useCVMFS = kFALSE;
  @@ -123,6 +130,7 @@ void AliTaskCDBconnect::InitGRP()
  }
  AliInfoF("Setting default storage to %s",fStorage.Data());
  cdb->SetDefaultStorage(fStorage);
  + }
  //
  // set specific storages
  for (Int_t i = 0; i < fSpecCDBUri.GetEntriesFast(); i++) {
  @@ -143,7 +151,6 @@ void AliTaskCDBconnect::InitGRP()
  }
  fLock = cdb->SetLock(kTRUE,fLock);
  }
  - if (gSystem->AccessPathName("OCDB.root",kFileExists)==0) cdb->SetSnapshotMode("OCDB.root");
  //
  if (!fGRPManager) fGRPManager = new AliGRPManager();
  AliInfo("AliCDBconnect: #### Loading GRP to init B-field...");
  