Description of problem: Log messages for start of crawl, end of crawl and number of files self-healed has to be reported in glustershd.log file. Currently Available options for checking files to be self-healed:- ---------------------------------------------------------------- Number of files that has to be self-healed can be obtained from the gluster cli command : "gluster volume heal <vol_name> info" Number of files that got self-healed (Only 1023 entries reported)can be obtained from the gluster cli command : "gluster volume heal <vol_name> info healed" To check pending self-heals other option is to keep monitoring ".glusterfs/indices/xattrop" directory of the source brick. Expected Output:- ------------------ We would like to see the start time of the crawl and End time of the crawl in the glustershd.log file. It would be helpful if number of files that got self-healed (only the count) is also reported in the glustershd.log file. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: A command which can give the statistics of the crawl like start time of the crawl, end time of the crawl, type of the crawl, no of files healed etc. Additional info:
REVIEW: http://review.gluster.org/4790 (cluster/afr : Implementation of command "gluster volume heal vn statistics") posted (#1) for review on master by venkatesh somyajulu (vsomyaju)
REVIEW: http://review.gluster.org/4790 (cluster/afr : Implementation of command "gluster volume heal vn statistics") posted (#2) for review on master by venkatesh somyajulu (vsomyaju)
REVIEW: http://review.gluster.org/4790 (cluster/afr : Implementation of command "gluster volume heal vn statistics") posted (#3) for review on master by venkatesh somyajulu (vsomyaju)
REVIEW: http://review.gluster.org/4790 (cluster/afr : Implementation of command "gluster volume heal vn statistics") posted (#4) for review on master by venkatesh somyajulu (vsomyaju)
REVIEW: http://review.gluster.org/4790 (cluster/afr : Implementation of command "gluster volume heal vn statistics") posted (#5) for review on master by venkatesh somyajulu (vsomyaju)
REVIEW: http://review.gluster.org/4790 (cluster/afr : Implementation of command "gluster volume heal vn statistics") posted (#6) for review on master by venkatesh somyajulu (vsomyaju)
REVIEW: http://review.gluster.org/6080 (cluster/afr : Implementation of command "gluster volume heal vn statistics") posted (#1) for review on master by venkatesh somyajulu (vsomyaju)
REVIEW: http://review.gluster.org/4790 (cluster/afr : Implementation of command "gluster volume heal vn statistics") posted (#7) for review on master by venkatesh somyajulu (vsomyaju)
REVIEW: http://review.gluster.org/4790 (cluster/afr : Implementation of command "gluster volume heal vn statistics") posted (#8) for review on master by venkatesh somyajulu (vsomyaju)
REVIEW: http://review.gluster.org/4790 (cluster/afr : Implementation of command "gluster volume heal vn statistics") posted (#9) for review on master by Anand Avati (avati)
COMMIT: http://review.gluster.org/4790 committed in master by Anand Avati (avati) ------ commit 047882750e0e97f5eed21ebe3445cdb216b15a9d Author: Venkatesh Somyajulu <vsomyaju> Date: Thu Sep 12 12:37:37 2013 +0530 cluster/afr : Implementation of command "gluster volume heal vn statistics" "gluster volume heal volumename statistics" command gives the summary of the afr crawl done based on the entries present in the xattrop directory. Whenever afr crawls are attempted, the beginning time of crawl, end time of crawl, no of files healed, heal-failed count and number of files in split brain are shown along with the type of the crawl. If crawl is already in progress then it will give the number of files healed, heal failed count and number of files in split-brain from the beginning of the crawl and instead of telling the end time of the crawl, "CRAWL IN PROGRESS" message will be shown. Output format: command: "gluster volume heal volume-name statistics" Output: Gathering afr crawl statistics crawl statistics on volume volume-name has been successful ------------------------------------------------ Crawl statistics for brick no 0 Hostname of brick 192.168.122.248 Starting time of crawl: Wed Jul 10 15:52:38 2013 Ending time of crawl: Wed Jul 10 15:52:38 2013 Type of crawl: INDEX No. of entries healed: 0 No. of entries in split-brain: 0 No. of heal failed entries: 0 Starting time of crawl: Wed Jul 10 15:52:38 2013 Ending time of crawl: Wed Jul 10 15:52:38 2013 Type of crawl: INDEX No. of entries healed: 0 No. of entries in split-brain: 0 No. of heal failed entries: 0 ------------------------------------------------ Crawl statistics for brick no 1 Hostname of brick 192.168.122.1 Starting time of crawl: Wed Jul 10 15:52:42 2013 Ending time of crawl: Wed Jul 10 15:52:42 2013 Type of crawl: INDEX No. of entries healed: 0 No. of entries in split-brain: 0 No. of heal failed entries: 0 Starting time of crawl: Wed Jul 10 15:52:42 2013 Ending time of crawl: Wed Jul 10 15:52:42 2013 Type of crawl: INDEX No. of entries healed: 0 No. of entries in split-brain: 0 No. of heal failed entries: 0 -------------------------------------------------- Change-Id: I10bf9d10b005741db9973fb1352e0dd59ed99aa9 BUG: 949400 Signed-off-by: Venkatesh Somyajulu <vsomyaju> Reviewed-on: http://review.gluster.org/4790 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Anand Avati <avati>
A beta release for GlusterFS 3.6.0 has been released. Please verify if the release solves this bug report for you. In case the glusterfs-3.6.0beta1 release does not have a resolution for this issue, leave a comment in this bug and move the status to ASSIGNED. If this release fixes the problem for you, leave a note and change the status to VERIFIED. Packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update (possibly an "updates-testing" repository) infrastructure for your distribution. [1] http://supercolony.gluster.org/pipermail/gluster-users/2014-September/018836.html [2] http://supercolony.gluster.org/pipermail/gluster-users/
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.0, please open a new bug report. glusterfs-3.7.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939 [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user