[Bugs] [Bug 1664122] New: do not send bit-rot virtual xattrs in lookup response
bugzilla at redhat.com
bugzilla at redhat.com
Mon Jan 7 19:07:24 UTC 2019
https://bugzilla.redhat.com/show_bug.cgi?id=1664122
Bug ID: 1664122
Summary: do not send bit-rot virtual xattrs in lookup response
Product: GlusterFS
Version: mainline
Status: NEW
Component: bitrot
Assignee: bugs at gluster.org
Reporter: rabhat at redhat.com
CC: bugs at gluster.org
Target Milestone: ---
Classification: Community
Docs Contact: bugs at gluster.org
Description of problem:
Though bit-rot-stub xlator removes the internal bit-rot detection specific
content from the dictionary of the lookup response, it fails to do so if the
file has been marked as bad.
This is what is needed.
=======================
1) If the file has correct, then do not send any of the internal xattrs in the
lookup callback dictionary (which is the current behavior as of now, thus no
need to worry about)
2) If the file has been marked as corrupted, then only send the bad file marker
in the dictionary of lookup callback. Other internal xattrs such as version,
signature etc are not needed. (As of now, for bad files, all the internal
xattrs are sent in the lookup response)
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are the Docs Contact for the bug.
More information about the Bugs
mailing list