diff options
Diffstat (limited to 'contrib/reorg-tools/migrate_orange_bugs.pl')
-rwxr-xr-x | contrib/reorg-tools/migrate_orange_bugs.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/reorg-tools/migrate_orange_bugs.pl b/contrib/reorg-tools/migrate_orange_bugs.pl index ae68b227c..4902464a3 100755 --- a/contrib/reorg-tools/migrate_orange_bugs.pl +++ b/contrib/reorg-tools/migrate_orange_bugs.pl @@ -145,6 +145,10 @@ foreach my $bug (@$bugs) { $dbh->bz_commit_transaction() if $doit; if ($doit) { + # 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(); + print colored(['green'], "DATABASE WAS UPDATED\n"); } else { |