Ignore:
Timestamp:
02/27/19 12:44:11 (2 years ago)
Author:
jkarder
Message:

#2839: worked on hive project management

  • Core.cs
    • locked checks for amount of available resources (cores/memory)
    • task state of aborted tasks is now updated accordingly
  • JobDao.cs
    • improved readability of GetJobsReadyForDeletionQuery
  • HiveStatisticsGenerator.cs
    • DimJobs, FactTasks and Jobs (DeletionPending) are now updated in one transaction
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.Services.Hive.DataAccess/3.3/Daos/JobDao.cs

    r16565 r16622  
    8888        (from job in db.GetTable<Job>()
    8989         where job.State == JobState.StatisticsPending
    90          && (from task in db.GetTable<Task>()
    91              where task.JobId == job.JobId
    92              select task.State == TaskState.Finished
    93               || task.State == TaskState.Aborted
    94               || task.State == TaskState.Failed).All(x => x)
     90               && (from task in db.GetTable<Task>()
     91                   where task.JobId == job.JobId
     92                   select task).All(x => x.State == TaskState.Finished
     93                                      || x.State == TaskState.Aborted
     94                                      || x.State == TaskState.Failed)
    9595         select job));
    9696    #endregion
Note: See TracChangeset for help on using the changeset viewer.