[Bugs] [Bug 1387499] Should not display wrong information by stat when data heal is pending for a non-zero size file

bugzilla at redhat.com bugzilla at redhat.com
Thu Nov 3 08:29:20 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1387499



--- Comment #4 from Ravishankar N <ravishankar at redhat.com> ---
After some code-reading and debugging, I found that this is not a bug specific
to arbiter. In AFR we do have checks to fail afr_stat() or any read transaction
when the only good copy is down. But the problem here is that the stat is not
reaching AFR, it is getting served from the kernel cache as a part of the
lookup response sent by AFR. For example, if we fuse mount the volume with
attribute-timeout=0 and entry-timeout=0,  we will get EIO for the reproducer
given in the description because there is no kernel caching and afr_stat will
be hit, which will fail the fop with EIO.

Note: I'm not changing the component from arbiter to replicate because I think
the acks might be lost if I do that.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=4j3NtWeJZe&a=cc_unsubscribe


More information about the Bugs mailing list