summaryrefslogtreecommitdiffstats
path: root/contrib/reorg-tools/movebugs.pl
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-09-03 17:34:03 +0200
committerByron Jones <glob@mozilla.com>2014-09-03 17:34:03 +0200
commitae44a7a378de0d3326eeb5811dcad346f1251dc6 (patch)
treec7453d70e20d1abb0a3c164347ab6e54343c35c1 /contrib/reorg-tools/movebugs.pl
parente1e2ca422db2ad5c4a19c0901b6402d3a7f0b175 (diff)
downloadbugzilla-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-xcontrib/reorg-tools/movebugs.pl3
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();