On Thu, Sep 18, 2008 at 1:11 AM, Matthew Toseland
<toad at amphibian.dyndns.org> wrote:
> On Monday 15 September 2008 14:55, j16sdiz at freenetproject.org wrote:
>> Author: j16sdiz
>> Date: 2008-09-15 13:55:44 +0000 (Mon, 15 Sep 2008)
>> New Revision: 22661
>>
>> Modified:
>>    trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
>> Log:
>> don't rebuild dirty bloom filter on start -- faster node restart
>
> So it gets rebuilt online instead?

yes.
Some user on FMS think this take make freenet too long to start.

And there is a bug (?) that `./run.sh stop` can't stop freenet while
it is starting. This make terminating the rebuild uneasy.

>>
>> Modified:
> trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
>> ===================================================================
>> --- trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
> 2008-09-14 19:27:04 UTC (rev 22660)
>> +++ trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
> 2008-09-15 13:55:44 UTC (rev 22661)
>> @@ -151,6 +151,7 @@
>>                       flags |= FLAG_REBUILD_BLOOM;
>>                       checkBloom = false;
>>
>> +                     /*-
>>                       if (cleanerGlobalLock.tryLock()) {
>>                               System.out.println("Bloom filter for datastore 
>> (" + name + ")
> missing/mismatch, rebuilding.");
>>                               try {
>> @@ -160,6 +161,7 @@
>>                               }
>>                               writeConfigFile();
>>                       }
>> +                     */
>>               }
>>
>>               cleanerThread.start();
>>
>> _______________________________________________
>> cvs mailing list
>> cvs at freenetproject.org
>> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
>>
>>
>
> _______________________________________________
> Devl mailing list
> Devl at freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
>

Reply via email to