Author: toad
Date: 2008-09-23 17:25:10 +0000 (Tue, 23 Sep 2008)
New Revision: 22775
Modified:
trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
Log:
Rebuild the bloom filter at full speed in parallel with normal operations.
This should not have a big impact now, because we only write to the new bloom
filter *in RAM*.
Modified: trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
===================================================================
--- trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
2008-09-23 17:02:40 UTC (rev 22774)
+++ trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
2008-09-23 17:25:10 UTC (rev 22775)
@@ -943,7 +943,7 @@
if (_rebuildBloom && prevStoreSize == 0
&& cleanerGlobalLock.tryLock()) {
try {
isRebuilding = true;
- rebuildBloom(true);
+ rebuildBloom(false);
} finally {
isRebuilding = false;
cleanerGlobalLock.unlock();