diff options
author | Byron Jones <glob@mozilla.com> | 2014-09-03 17:34:03 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2014-09-03 17:34:03 +0200 |
commit | ae44a7a378de0d3326eeb5811dcad346f1251dc6 (patch) | |
tree | c7453d70e20d1abb0a3c164347ab6e54343c35c1 /contrib/reorg-tools/movebugs.pl | |
parent | e1e2ca422db2ad5c4a19c0901b6402d3a7f0b175 (diff) | |
download | bugzilla-ae44a7a378de0d3326eeb5811dcad346f1251dc6.tar.gz bugzilla-ae44a7a378de0d3326eeb5811dcad346f1251dc6.tar.xz |
Bug 1062344: contrib/reorg-tools/sync* do not clear memcached
Diffstat (limited to 'contrib/reorg-tools/movebugs.pl')
-rwxr-xr-x | contrib/reorg-tools/movebugs.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/reorg-tools/movebugs.pl b/contrib/reorg-tools/movebugs.pl index b9acc2443..7ffca3615 100755 --- a/contrib/reorg-tools/movebugs.pl +++ b/contrib/reorg-tools/movebugs.pl @@ -177,3 +177,6 @@ foreach my $bug_id (@$ra_ids) { Bugzilla->memcached->clear({ table => 'bugs', id => $bug_id }); } +# It's complex to determine which items now need to be flushed from memcached. +# As this is expected to be a rare event, we just flush the entire cache. +Bugzilla->memcached->clear_all(); |