Lines Matching refs:trainInfoOnDisk
245 InstallTrainInfo trainInfoOnDisk; in getAndUpdateTrainInfoOnDisk() local
246 readTrainInfoSuccess = StorageManager::readTrainInfo(trainInfo->trainName, trainInfoOnDisk); in getAndUpdateTrainInfoOnDisk()
252 trainInfo->trainVersionCode = trainInfoOnDisk.trainVersionCode; in getAndUpdateTrainInfoOnDisk()
253 } else if (trainInfo->trainVersionCode != trainInfoOnDisk.trainVersionCode) { in getAndUpdateTrainInfoOnDisk()
260 (trainInfoOnDisk.experimentIds.empty() || in getAndUpdateTrainInfoOnDisk()
261 trainInfo->experimentIds.at(0) != trainInfoOnDisk.experimentIds[0])) { in getAndUpdateTrainInfoOnDisk()
268 trainInfo->experimentIds = trainInfoOnDisk.experimentIds; in getAndUpdateTrainInfoOnDisk()
296 trainInfo->requiresStaging = trainInfoOnDisk.requiresStaging; in getAndUpdateTrainInfoOnDisk()
297 trainInfo->rollbackEnabled = trainInfoOnDisk.rollbackEnabled; in getAndUpdateTrainInfoOnDisk()
298 trainInfo->requiresLowLatencyMonitor = trainInfoOnDisk.requiresLowLatencyMonitor; in getAndUpdateTrainInfoOnDisk()
339 InstallTrainInfo trainInfoOnDisk; in processWatchdogRollbackOccurred() local
341 readTrainInfoSuccess = StorageManager::readTrainInfo(packageNameIn, trainInfoOnDisk); in processWatchdogRollbackOccurred()
347 if (trainInfoOnDisk.experimentIds.empty()) { in processWatchdogRollbackOccurred()
351 int64_t firstId = trainInfoOnDisk.experimentIds[0]; in processWatchdogRollbackOccurred()
352 auto& ids = trainInfoOnDisk.experimentIds; in processWatchdogRollbackOccurred()
358 StorageManager::writeTrainInfo(trainInfoOnDisk); in processWatchdogRollbackOccurred()
364 StorageManager::writeTrainInfo(trainInfoOnDisk); in processWatchdogRollbackOccurred()
368 return trainInfoOnDisk.experimentIds; in processWatchdogRollbackOccurred()