Hide Forgot
replicate returns stat info from one child once and from another child later. Can be reproduced by running the pjd-fstest POSIX compliance test suite, tests/open/00.t. If the clocks on the servers are not in sync, the test will fail.
The bug is in the various inode-write calls in replicate. They also return stat info, but do not follow the read-subvolume logic.
We can easily fix this by returning stat info from the read child in all the inode-write ops too. Doing this, however, means we will lose the "quick unwind" feature, as we will have to wait until the call has returned from the read child to unwind. Is it worth it?
Patch submitted: http://patches.gluster.com/patch/744/
PATCH: http://patches.gluster.com/patch/744 in master (Return stat info from read-child in all the inode-write ops)
PATCH: http://patches.gluster.com/patch/744 in release-2.0 (Return stat info from read-child in all the inode-write ops)