1. 12 Feb, 2014 7 commits
  2. 11 Feb, 2014 2 commits
    • Klaus Aehlig's avatar
      Gracefully handle queries for non-existing nodes · 929efcc3
      Klaus Aehlig authored
      
      
      When adding a node, Ganeti checks whether the node is already
      part of the cluster by querying for the node name. However,
      as queries are meant to return all nodes with the given name,
      it might well return the empty list when a new node is to be
      added. Handle that case correctly.
      Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
      Reviewed-by: default avatarHrvoje Ribicic <riba@google.com>
      929efcc3
    • Klaus Aehlig's avatar
      Consider job-IDs queried for twice only once · fb8d8645
      Klaus Aehlig authored
      As reading jobs from disk is an expensive operation, when querying
      for jobs, we optimize by considering which values the job-id is asked
      for in the filter. As any reasonable person would not add the same
      clause twice in an Or-clause, the implicit assumption was that the
      job ids obtained by inspecting the filter would be unique; hence the
      information for those jobs could be returned directly.
      
      That all did hold true and everyone was happy till with commit 13ef1fa5
      
      
      a query for a single job suddenly returned the job twice violating
      WaitForJobChange's expectation. Fix this by taking the nub of the
      jids asked for in the filter.
      Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
      Reviewed-by: default avatarHrvoje Ribicic <riba@google.com>
      fb8d8645
  3. 10 Feb, 2014 5 commits
  4. 07 Feb, 2014 2 commits
  5. 06 Feb, 2014 15 commits
  6. 05 Feb, 2014 2 commits
  7. 04 Feb, 2014 6 commits
  8. 03 Feb, 2014 1 commit