From d799735f35fe850e12bf5c8becf720e47d66174c Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 16 May 2012 16:47:57 +0000 Subject: [PATCH] Fix problem where group membership at startup hounded xCAT commands eternally git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12740 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/NodeRange.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/perl-xCAT/xCAT/NodeRange.pm b/perl-xCAT/xCAT/NodeRange.pm index 4ad64033f..29cc2ec7d 100644 --- a/perl-xCAT/xCAT/NodeRange.pm +++ b/perl-xCAT/xCAT/NodeRange.pm @@ -243,6 +243,7 @@ sub expandatom { #TODO: implement table selection as an atom (nodetype.os==rhels { unless (scalar %allgrphash and (time() < ($allgrphashstamp+5))) { #build a group membership cache $allgrphashstamp=time(); + %allgrphash=(); my $nlent; foreach $nlent (@allnodeset) { my @groups=split(/,/,$nlent->{groups});