I'm working on a patchset related to adaptive fetch interval (discussed on the list). I have a first cut impl. working, but still using the current byte-sized fetch interval. Proper implementation calls for changing the WebDB format, to store fetch interval as seconds, not days (e.g. in a 4-byte value, instead of 1-byte it uses now). This will of course break all existing DBs, although it is possible to write a tool to migrate it.
I don't think a tool should be required. Just increment PAGE.CUR_VERSION to 5 and then in readFields(), when version < 5 read the old-format byte and convert it to seconds. Won't that give back-compatibility?
Doug
------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Nutch-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nutch-developers
