This version of lessfs introduces a number of new features. When the master is configured with REPLICATION_PARTNER_IP=-1 it will automatically create numbered replication logfiles. These log files can either be used with replogtool or you can transfer them to theĀ REPLICATION_WATCHDIR location of a slave. In this case the slave will import the replication log and rename it to replog.dta-SEQUENCE-processed when it is done.
The slave will not wait until the file is complete. So copy the files over the the REPLICATION_WATCHDIR location and rename them when they have been fully transferred.
For example:
for i in `ls replog.dta-*`; do cp $i /data/watch/.$i; mv /data/watch/.$i /data/watch/$i; done
Another new feature of this version of lessfs is that it can be compiled with –enable-memtrace
In this case lessfs will create a report about memory allocation in /tmp/lessfs_memleak.txt This option useful for debugging and development and comes with a very modest performance impact.
A nasty bug that causes lessfs to leak memory has been identified in hamsterdb. A pre-release of hamsterdb that solves the problem can be found here : Hamsterdb 1.1.10
An official hamsterdb release can be expected shortly.