diff options
Diffstat (limited to 'contrib/reorg-tools/migrate_crash_signatures.pl')
-rwxr-xr-x | contrib/reorg-tools/migrate_crash_signatures.pl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/contrib/reorg-tools/migrate_crash_signatures.pl b/contrib/reorg-tools/migrate_crash_signatures.pl index b12446280..4323c1d01 100755 --- a/contrib/reorg-tools/migrate_crash_signatures.pl +++ b/contrib/reorg-tools/migrate_crash_signatures.pl @@ -123,4 +123,10 @@ foreach my $bug (@$bugs) { print "done.\n"; } -$dbh->bz_commit_transaction() if $UPDATE_DB; +if ($UPDATE_DB) { + $dbh->bz_commit_transaction(); + + # 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(); +} |