Skip to content
Snippets Groups Projects
  1. Jul 26, 2011
    • Guido Trotter's avatar
      cluster-merge: add instance restart strategy opt · 620a9c62
      Guido Trotter authored
      
      Right now we always restart all instances, which is not right if some
      instances were already down for other reasons. Thus we add an option to
      decide how to handle this. The right default should be "up" which is:
      "restart all options which were switched off by the merge", but since
      that's not implemented yet, the default remains the old one, for now.
      
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      620a9c62
    • Iustin Pop's avatar
      Fix recompilation of htools on regen-vcs-version · 13aeae6a
      Iustin Pop authored
      
      Currently, most htools code depends on Constants.hs which is generated
      from constants.py and also depends on _autoconf.py. Also, _autoconf.py
      depends on vcs-version, which all together means that when 'make
      regen-vcs-version' is run, for example by ./devel/upload, most of the
      Haskell code needs recompilation.
      
      Since htools already has its 'optimised' vcs-version (and doesn't use
      the _autoconf.VCS_VERSION constants), we can optimise this as follows:
      
      - _autoconf.py doesn't contain the VCS_VERSION anymore, and that is
        instead moved to _vcsversion.py
      - constants.py depends on and imports this new module
      - _autoconf.py doesn't get regenerated at vcs-version changes, but
        only at re-running configure/changing Makefile time
      
      The end result is that only htools/Ganeti/HTools/Version.hs is
      recompiled now, which is a significant speedup (usually < 1 second
      versus 10 seconds previously).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      13aeae6a
    • Iustin Pop's avatar
      a3ac3243
  2. Jul 25, 2011
  3. Jul 22, 2011
  4. Jul 21, 2011
Loading