how it works in Squid-2 again), I forgot that storeRebuildComplete()
probably wouldn't do any work as long as store_dirs_rebuilding was greater
than zero. Now it needs to do its work when store_dirs_rebuilding == 1.
/*
- * $Id: store_rebuild.cc,v 1.87 2007/04/10 00:45:10 wessels Exp $
+ * $Id: store_rebuild.cc,v 1.88 2007/04/10 19:24:38 wessels Exp $
*
* DEBUG: section 20 Store Rebuild Routines
* AUTHOR: Duane Wessels
* the validation (storeCleanup()) thread.
*/
- if (StoreController::store_dirs_rebuilding)
+ if (StoreController::store_dirs_rebuilding > 1)
return;
dt = tvSubDsec(rebuild_start, current_time);