1. 28 Jul, 2017 4 commits
    • Morris Jette's avatar
      Merge branch 'slurm-17.02' · 65c78797
      Morris Jette authored
      65c78797
    • Alejandro Sanchez's avatar
      jobcomp/elasticsearch - save state on REQUEST_CONTROL. · 8944b77a
      Alejandro Sanchez authored
      jobcomp/elasticsearch saves/load the state to/from elasticsearch_state.  Since
      the jobcomp API isn't designed with save/load state operations, the plugin
      _save_state() isn't extern and not available from outside the plugin itself,
      thus it is highly coupled to fini() function. This state doesn't follow the
      same execution path as the rest of Slurm states, where in save_all_sate()
      they are all independently scheduled. So we save it manually here on a RPC
      of type REQUEST_CONTROL.
      
      This enables that when the Primary ctld issues a REQUEST_CONTROL to the Backup
      which is currently in controller mode, the Backup will save the state and when
      the Primary assumes control again it can process the saved pending jobs.  The
      other way around was already controlled, because when the Primary is running
      in controller mode and the Backup issues a REQUEST_CONTROL, the Primary is
      shutdown and when breaking the ctld main() function while(1) loop, there was
      already a g_slurm_jobcomp_fini() call in place.
      
      Bug 3908
      8944b77a
    • Dominik Bartkiewicz's avatar
      eb963179
    • Dominik Bartkiewicz's avatar
  2. 27 Jul, 2017 4 commits
  3. 26 Jul, 2017 14 commits
  4. 25 Jul, 2017 4 commits
  5. 24 Jul, 2017 6 commits
  6. 21 Jul, 2017 3 commits
  7. 19 Jul, 2017 5 commits