replica/applylog to store new length along with new mtime in client db making /sys/src/cmd/replica/updatedb.c:80 happy. Maybe updatedb should ignore mismatch of lengths. Reference: /n/sources/patch/maybe/applychanges-loglen Date: Thu Jan 12 16:02:20 CET 2012 Signed-off-by: yarikos@gmail.com --- /sys/src/cmd/replica/applychanges.c Thu Jan 12 15:55:47 2012 +++ /sys/src/cmd/replica/applychanges.c Thu Jan 12 15:55:43 2012 @@ -101,6 +101,7 @@ return; } od.mtime = d.mtime; + od.length = d.length; od.muid = "mark"; xlog('c', new, &od); if(!justshow){