Bug 810144 - Self-heal-daemon log improvements
Summary: Self-heal-daemon log improvements
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: replicate
Version: mainline
Hardware: Unspecified
OS: Unspecified
medium
urgent
Target Milestone: ---
Assignee: Pranith Kumar K
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 817967
TreeView+ depends on / blocked
 
Reported: 2012-04-05 09:27 UTC by Raghavendra Bhat
Modified: 2015-12-01 16:45 UTC (History)
3 users (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-24 18:03:08 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions: glusterfs-3.3.0qa40
Embargoed:


Attachments (Terms of Use)

Description Raghavendra Bhat 2012-04-05 09:27:07 UTC
Description of problem:

Excessive logging is present in self-heal-daemon. Messages of this sort needs to be avoided in self-heal-daemon:

[2012-04-03 14:22:23.193848] I [afr-self-heald.c:1052:afr_dir_crawl] 0-mirror-replicate-0: Crawl completed on mirror-client-0
[2012-04-03 14:22:23.194534] I [afr-self-heald.c:1052:afr_dir_crawl] 0-mirror-replicate-0: Crawl completed on mirror-client-1
[2012-04-03 14:22:23.196511] E [afr-self-heald.c:403:_crawl_proceed] 0-vol-replicate-0: Stopping crawl as < 2 children are up
[2012-04-03 14:32:23.259722] I [afr-self-heald.c:1147:afr_start_crawl] 0-mirror-replicate-0: starting crawl 1 for mirror-client-0
[2012-04-03 14:32:23.260383] I [afr-self-heald.c:1147:afr_start_crawl] 0-mirror-replicate-0: starting crawl 1 for mirror-client-1
[2012-04-03 14:32:23.261226] I [afr-self-heald.c:1147:afr_start_crawl] 0-vol-replicate-0: starting crawl 1 for vol-client-0
[2012-04-03 14:32:23.261905] E [afr-self-heald.c:403:_crawl_proceed] 0-vol-replicate-0: Stopping crawl as < 2 children are up
[2012-04-03 14:32:23.263318] I [afr-self-heald.c:1052:afr_dir_crawl] 0-mirror-replicate-0: Crawl completed on mirror-client-1
[2012-04-03 14:32:23.263370] I [afr-self-heald.c:1052:afr_dir_crawl] 0-mirror-replicate-0: Crawl completed on mirror-client-0
[2012-04-03 14:42:23.323993] I [afr-self-heald.c:1147:afr_start_crawl] 0-mirror-replicate-0: starting crawl 1 for mirror-client-0
[2012-04-03 14:42:23.324735] I [afr-self-heald.c:1147:afr_start_crawl] 0-mirror-replicate-0: starting crawl 1 for mirror-client-1
[2012-04-03 14:42:23.325594] I [afr-self-heald.c:1147:afr_start_crawl] 0-vol-replicate-0: starting crawl 1 for vol-client-0
[2012-04-03 14:42:23.326387] E [afr-self-heald.c:403:_crawl_proceed] 0-vol-replicate-0: Stopping crawl as < 2 children are up
[2012-04-03 14:42:23.327600] I [afr-self-heald.c:1052:afr_dir_crawl] 0-mirror-replicate-0: Crawl completed on mirror-client-1
[2012-04-03 14:42:23.327663] I [afr-self-heald.c:1052:afr_dir_crawl] 0-mirror-replicate-0: Crawl completed on mirror-client-0



Version-Release number of selected component (if applicable): mainline


How reproducible:

Always

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Anand Avati 2012-04-25 12:55:51 UTC
CHANGE: http://review.gluster.com/3098 (cluster/afr: Log enhancements) merged in master by Vijay Bellur (vijay)

Comment 2 Anand Avati 2012-05-04 12:21:45 UTC
CHANGE: http://review.gluster.com/3100 (self-heald: Don't trigger self-heal always.) merged in master by Vijay Bellur (vijay)

Comment 3 Anand Avati 2012-05-04 12:24:05 UTC
CHANGE: http://review.gluster.com/3099 (self-heald: loc should have gfid path for better logging) merged in master by Vijay Bellur (vijay)

Comment 4 Raghavendra Bhat 2012-05-09 09:33:34 UTC
Checked with glusterfs-3.3.0qa40 and such excessive logging is not seen.


Note You need to log in before you can comment on or make changes to this bug.