Bug 1241385
| Summary: | [Backup]: Glusterfind pre attribute '--output-prefix' not working as expected in case of DELETEs | |||
|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Sweta Anandpara <sanandpa> | |
| Component: | glusterfind | Assignee: | Saravanakumar <sarumuga> | |
| Status: | CLOSED ERRATA | QA Contact: | Rahul Hinduja <rhinduja> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | rhgs-3.1 | CC: | annair, asriram, asrivast, avishwan, divya, khiremat, mchangir, rhinduja, rhs-bugs, sanandpa, sarumuga, storage-qa-internal | |
| Target Milestone: | --- | Keywords: | ZStream | |
| Target Release: | RHGS 3.1.1 | Flags: | sarumuga:
needinfo+
|
|
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | glusterfs-3.7.1-14 | Doc Type: | Bug Fix | |
| Doc Text: |
Previously, the attribute '--output-prefix' specified in 'glusterfind pre' command did not provide the output prefix in case of deleted entry present in the glusterfind output file. With the fix, the output prefix of the deleted entry is present in the glusterfind output file.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1244144 (view as bug list) | Environment: | ||
| Last Closed: | 2015-10-05 07:18:57 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | 1244144, 1257141 | |||
| Bug Blocks: | 1216951, 1223636, 1251815 | |||
|
Description
Sweta Anandpara
2015-07-09 07:03:02 UTC
Doc text is edited. Please sign off to be included in Known Issues. The doc text here does not have a mention of glusterfind at all. With just what is written - and which is now included in the 3.1 release notes, it does not give the correct picture. What do you think? Presently, it is this: Due to a code bug, the output prefix was not considered when updating the path of deleted entries. The output file/dir name will not have an output prefix. Expected, could look like this: Due to a code bug, the output prefix was not considered when updating the path of deleted entries. The output file/dir name will not have an output prefix in case of deleted entry present in the outfile of glusterfind. Have edited the doc text. I am affirmative! Patch posted upstream http://review.gluster.org/#/c/11712/ Downstream patch https://code.engineering.redhat.com/gerrit/#/c/56398/ Verified with build: glusterfs-3.7.1-14.el7rhgs.x86_64 Creation: ========= [root@georep1 ~]# cat /root/log NEW root%2Ftest1 NEW root%2Ftest2 [root@georep1 ~]# Modify/Delete: ============= [root@georep1 ~]# cat /root/log NEW root%2Fdir1 NEW root%2Fdir1%2Fdir2 MODIFY root%2Ftest2 DELETE root%2Ftest1 [root@georep1 ~]# Delete: ======= [root@georep1 ~]# cat /root/log1 DELETE root%2Fdir1%252Fdir2 [root@georep1 ~]# [root@georep1 ~]# cat /root/log1 DELETE %2Fmnt%2Fglusterfs%2Fdir1 [root@georep1 ~]# Moving the bug to verified state Saravana, Please review and sign-off the edited doc text. doctext looks fine for me. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-1845.html |