Skip to content
Snippets Groups Projects
  1. Nov 19, 2010
    • Iustin Pop's avatar
      Rapi loader: split parsing from loading · 748bfcc2
      Iustin Pop authored
      The change is similar to the text loader change.
      748bfcc2
    • Iustin Pop's avatar
      Text loader: split parsing from loadData · dadfc261
      Iustin Pop authored
      This change, which will be followed by similar changes in the other
      loaders, splits the parsing of the data from the actual loading from
      disk. Since the parsing doesn't usually involve IO actions, we will be
      able to better test the parsing. The loading becomes a smaller part of
      the code and thus inability to test it has a smaller impact.
      dadfc261
  2. Nov 11, 2010
  3. Nov 09, 2010
    • Iustin Pop's avatar
      Merge branch 'devel-0.2' · 92d43268
      Iustin Pop authored
      * devel-0.2:
        Fix tag exclusion weight
      92d43268
    • Iustin Pop's avatar
      Fix tag exclusion weight · 306cccd5
      Iustin Pop authored
      Currently, the tag exclusion metric has a weight of one, which means
      there might be cases where we won't move instances around because it
      upsets the cluster metrics. However, we do want to make a higher effort
      for cleaning up tag collisions, so we increase the weight to an
      empirically-determined value of 2.
      306cccd5
  4. Oct 26, 2010
    • Iustin Pop's avatar
      Force UTF-8 locale for pandoc invocation · 718f135d
      Iustin Pop authored
      Pandoc 1.5.x uses the locale information to parse its input files (only
      1.5, pre and post version use always UTF-8). Hence we need to enforce a
      UTF-8 locale for proper parsing of input files.
      718f135d
  5. Oct 25, 2010
  6. Oct 21, 2010
  7. Oct 07, 2010
  8. Oct 06, 2010
  9. Sep 15, 2010
    • Iustin Pop's avatar
      hbal: implement user-friendly termination requests · 03cb89f0
      Iustin Pop authored
      Currently, hbal will abort immediately when requested (^C, or SIGINT,
      etc.). This is not nice, since then the already started jobs need to be
      tracked manually.
      
      This patch adds a signal handler for SIGINT and SIGTERM, which will, the
      first time, simply record the shutdown request (and hbal will then exit
      once all jobs in the current jobset finish), and at the second request,
      will cause an immediate exit.
      03cb89f0
  10. Sep 03, 2010
  11. Sep 02, 2010
    • Iustin Pop's avatar
      Makefile: make the rst2html converter more strict · d78ceb9e
      Iustin Pop authored
      This will make the automated builds flag any problems.
      d78ceb9e
    • Iustin Pop's avatar
      Add some more debugging functions · adc5c176
      Iustin Pop authored
      These are just variations of the standard debug, but are provided for
      simpler code, since lazyness is something causing non-computation of
      debug statements.
      adc5c176
    • Iustin Pop's avatar
      Fix ReplaceSecondary moves for offline nodes · 74e89a14
      Iustin Pop authored
      The addition of a new secondary on a node is doing two memory tests:
      - in strict mode, reject if we get into N+1 failure
      - reject if the new instance memory is greater than the free memory (not
        available memory) on the node
      
      The last check is designed to ensure that, irrespective of the other
      secondary instances on this node, we are able to failover/migrate the
      newly-added instance.
      
      However, we should allow this, if the instances comes from an offline
      node, which doesn't offer anything (not even disk replication).
      Therefore this patch makes this check conditional on the strict mode.
      74e89a14
    • Iustin Pop's avatar
      Update NEWS file · 49d977db
      Iustin Pop authored
      49d977db
  12. Aug 30, 2010
  13. Aug 25, 2010
    • Iustin Pop's avatar
      Add a new option --save-cluster · 02da9d07
      Iustin Pop authored
      This option will in the future be used to serialize the cluster state in
      hbal and hspace after the rebalance/allocation steps.
      02da9d07
    • Iustin Pop's avatar
      Add unittest for Node text serialization · 50811e2c
      Iustin Pop authored
      This checks that the Node text serialization and deserialization
      operations are idempotent when combined other.
      50811e2c
    • Iustin Pop's avatar
      Switch unittest to custom hostnames · a070c426
      Iustin Pop authored
      Currently, the hostnames are almost fully arbitrary chars, which breaks
      the assumption that nodes/instances will be normal DNS hostnames.
      
      This patch adds some custom generators for these hostnames, that will
      allow better testing of text loader serialization/deserialization.
      a070c426
  14. Aug 24, 2010
  15. Jul 29, 2010
  16. Jul 27, 2010
  17. Jul 23, 2010
  18. Jul 22, 2010
  19. Jul 21, 2010
Loading