1. 26 Jun, 2020 2 commits
  2. 24 Jun, 2020 1 commit
  3. 20 Jun, 2020 4 commits
  4. 19 Jun, 2020 1 commit
  5. 18 Jun, 2020 3 commits
    • Fabien Viale's avatar
      Optimize JobData and TaskData queries · 4acab84c
      Fabien Viale authored
       - discontinue support of pa.scheduler.job.removeFromDataBase=false, which implied executing joined tables queries constantly (decreases performance and disallow some indexing)
       - add 3 indexes in JobData (submit_time, scheduled_time_for_removal, and job_id_status : composite index used to optimize scheduler portal default list jobs query)
       - getTaskCounts : avoid joined table query by considering only task statuses.
       - getFinishedTaskCount : fix incomplete list of finished task statuses
       - getPendingTaskCount : add in-error status (similar to pause)
       - adapt db tests
       - add owner column in TaskData to avoid join
       - initialize TaskData.owner using JobData.owner when recovering an existing database
       - TaskData : replace task.jobData.id by task.id.jobId to avoid implicit cross join
       - TaskDBUtils : supress removeTime usage and replace jobData.owner by taskData.owner
       - BaseServiceTest : add SQL debug info
       - MockSchedulingInfrastructure : print unexpected exceptions
      4acab84c
    • medou-boushab's avatar
      Merge pull request #3774 from ow2-proactive/resultMap · b6feaee4
      medou-boushab authored
      Handle the case where the value of a resultMap entry is null
      b6feaee4
    • medou-boushab's avatar
  6. 17 Jun, 2020 3 commits
  7. 15 Jun, 2020 2 commits
    • Fabien Viale's avatar
      Merge pull request #3771 from fviale/master · 2c18b2b2
      Fabien Viale authored
      MemoryLeak: do not keep finished jobs state in memory
      2c18b2b2
    • Fabien Viale's avatar
      MemoryLeak: do not keep finished jobs state in memory · 10d828e1
      Fabien Viale authored
       - SchedulerStateImpl : use a maximum size for finished jobs. As test is using the getState method a lot, it is necessary to keep some retro-compatibility. The default number of jobs kept in SchedulerStateImpl is 1000, but can be configured through a JVM property.
       - SchedulerFrontendState : delete job from jobsMap when the job is finished.
      10d828e1
  8. 11 Jun, 2020 2 commits
  9. 10 Jun, 2020 2 commits
  10. 08 Jun, 2020 1 commit
  11. 05 Jun, 2020 3 commits
  12. 03 Jun, 2020 2 commits
    • Fabien Viale's avatar
      Merge pull request #3764 from fviale/master · 194d9855
      Fabien Viale authored
      Remove and comment recursive algorithm in InternalJob
      194d9855
    • Fabien Viale's avatar
      Remove and comment recursive algorithm in InternalJob · 57b023c1
      Fabien Viale authored
      Replaced by a simple iterative search
      
      After analysis of the code, it tries to find an InternalTask based on its name, but to do so, it does a complex  potentially exponential recursive algorithm. This code hanged a task termination on a workflow containing a loop which had around 1400 tasks.
      
      For now I comment the previous code to keep its track.
      57b023c1
  13. 27 May, 2020 3 commits
  14. 20 May, 2020 3 commits
  15. 19 May, 2020 5 commits
  16. 17 May, 2020 2 commits
  17. 16 May, 2020 1 commit
    • Fabien Viale's avatar
      Fix dataspace warnings in task logs · aec7d64e
      Fabien Viale authored
      Warnings or errors when transferring files using dataspaces used to appear in task logs but these logs disappeared (regression).
      This commit fixes the issue.
      Addressed reviews
      aec7d64e