This is interesting. write-behind guarantees ordering of read/write such that you always read written data. Do you happen to know if Mercurial reads and writes from different file descriptors on the same file? Can you give us logs and configuration details of your setup? Avati On Mon, Jun 6, 2011 at 10:41 PM, Simon Litchfield <simon at s29.com.au> wrote: > Hi all > > It seems Mercurial doesn't work with "write behind" on. Any ideas? > > With write-behind -- > > root at dj1:~/mnt# gluster volume set conf performance.write-behind on > Set volume successful > root at dj1:~/mnt# hg clone http://projects.unbit.it/hg/uwsgi > destination directory: uwsgi > requesting all changes > adding changesets > transaction abort! > rollback completed > abort: integrity check failed on 00changelog.i:24! > > Without write-behind -- > > root at dj1:~/mnt# gluster volume set conf performance.write-behind off > Set volume successful > root at dj1:~/mnt# hg clone http://projects.unbit.it/hg/uwsgi > destination directory: uwsgi > requesting all changes > adding changesets > adding manifests > adding file changes > added 1169 changesets with 3532 changes to 332 files > updating to branch default > 278 files updated, 0 files merged, 0 files removed, 0 files unresolved > > Shouldn't the write behind cache be reading unwritten data before it hits > the disk? > > Cheers > Simon > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://gluster.org/cgi-bin/mailman/listinfo/gluster-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://gluster.org/pipermail/gluster-users/attachments/20110609/d2e00abc/attachment.htm>