Skip to content
Snippets Groups Projects
  1. Jan 13, 2010
  2. Jan 11, 2010
  3. Jan 05, 2010
    • Iustin Pop's avatar
      Introduce a Luxi call for GetTags · 7699c3af
      Iustin Pop authored
      
      This changes from submitting jobs to get the tags (in cli scripts) to
      queries, which (since the tags query is a cheap one) should be much
      faster.
      
      The tags queries are already done without locks (in the generic query
      paths for instances/nodes/cluster), so this shouldn't break tags query
      via gnt-* list-tags.
      
      On a small cluster, the runtime of gnt-cluster/gnt-instance list tags
      more than halves; on a big cluster (with many MCs) I expect it to be
      more than 5 times faster. The speed of the tags get is not the main
      gain, it is eliminating a job when a simple query is enough.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      7699c3af
    • Iustin Pop's avatar
      LURenameCluster: run post hook on all nodes · 47a72f18
      Iustin Pop authored
      
      Since the cluster name might be used for various purposes on nodes, we
      should let all nodes "know" about a cluster rename by running the post
      hook on all nodes. This will make cluster rename slightly
      slower/costlier, but it is not/shouldn't be an operation that is run
      very often.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarOlivier Tharan <olive@google.com>
      47a72f18
  4. Jan 04, 2010
  5. Dec 28, 2009
Loading