From 8d7d768230f8a0ca6cc2bb9a1da59d01a1f545fe Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 14 Sep 2009 15:49:10 +0000 Subject: [PATCH] -This guess at the memleak was incorrect and extraneous. It did introduce a bug, so revert it (if DB worker memory usage does not start leaking, no further thought required git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4128 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Table.pm | 6 ------ 1 file changed, 6 deletions(-) diff --git a/perl-xCAT/xCAT/Table.pm b/perl-xCAT/xCAT/Table.pm index dd43422e7..a59ba969b 100644 --- a/perl-xCAT/xCAT/Table.pm +++ b/perl-xCAT/xCAT/Table.pm @@ -1433,12 +1433,6 @@ sub _clear_cache { #PRIVATE FUNCTION TO EXPIRE CACHED DATA EXPLICITLY } #it shouldn't have been zero, but whether it was 0 or 1, ensure that the cache is gone $self->{_use_cache}=0; # Signal slow operation to any in-flight operations that may fail with empty cache - if (ref $self->{_tablecache}) { - undef %{$self->{_tablecache}}; - } - if (ref $self->{_nodecache}) { - undef %{$self->{_nodecache}}; - } undef $self->{_tablecache}; undef $self->{_nodecache}; }