1. 02 Feb, 2018 1 commit
    • Paul Rich's avatar
      Refactor find_queue_equivalence_classes and drain clear code · 2cda012d
      Paul Rich authored
      After discussions, the current find_queue_equivalence_classes for this
      system really only complicates the codebase for very little actual gain.
      After this, the system will have only one equivalence class at all times
      consisting of all active queues assigned to nodes and all active
      reservations.
      
      This simplification allows us to ensure that find_job_location only gets
      called twice, once for reservations, which ignore drain times, and then
      immediately after for the normal "production" queue jobs, which do set
      drain times.  In both cases we can just clear drain times across the
      machine.
      
      In addition to testing (and more tests coming for the case that caused
      this examination to begin with), we know that this works, as any system
      with a queue or set of overlapping queues across all resources on the
      machine forms a single equivalence class under the old code.
      2cda012d
  2. 31 Jan, 2018 1 commit
  3. 03 Jan, 2018 1 commit
  4. 02 Jan, 2018 1 commit
  5. 15 Nov, 2017 3 commits
  6. 06 Nov, 2017 1 commit
  7. 03 Nov, 2017 1 commit
  8. 03 Oct, 2017 1 commit
  9. 21 Sep, 2017 2 commits
  10. 18 Sep, 2017 1 commit
  11. 14 Sep, 2017 1 commit
    • Paul Rich's avatar
      All forkers will no longer be incremented. Proper forker selected. · d66de8fd
      Paul Rich authored
      I don't even know how I missed this in preliminary testing.  The forker
      increment is now fixed when using multiple forkers.  Additionally, the
      first forker in the list was always getting used regardless of status,
      which kind of defeats the entire point of this patch.
      d66de8fd
  12. 13 Sep, 2017 1 commit
  13. 23 Aug, 2017 2 commits
  14. 18 Aug, 2017 5 commits
  15. 17 Aug, 2017 1 commit
  16. 16 Aug, 2017 1 commit
  17. 11 Aug, 2017 4 commits
  18. 04 Aug, 2017 1 commit
  19. 03 Aug, 2017 1 commit
  20. 31 Jul, 2017 1 commit
  21. 28 Jul, 2017 1 commit
  22. 27 Jul, 2017 1 commit
  23. 10 Jul, 2017 1 commit
  24. 03 Jul, 2017 2 commits
    • Paul Rich's avatar
      Adding in test cases for _ALPS_reserve_resources · bedcb951
      Paul Rich authored
      In light of this bug, adding checks to make sure that we don't end up
      accidentally adding in bad values to reservations again.
      bedcb951
    • Paul Rich's avatar
      Fix for double-reservation entry · d72c6774
      Paul Rich authored
      This was traced to a call that could cause a non-string key to be added
      to the alps_reservation dictionary, resulting in a version of the
      reservation with an integer jobid key and a second with a string jobid
      key.  These should be keyed with strings.
      
      Added as further mitigation a check to see if there is an integer
      version of a key to clean.  If there is, then notify that it happened
      and clean that one, too.
      
      Triggering condition is an interactive job where the initial ALPS
      reservation times out.
      d72c6774
  25. 30 Jun, 2017 1 commit
  26. 27 Jun, 2017 2 commits
  27. 23 Jun, 2017 1 commit