Bug 765205 (GLUSTER-3473) - Log enhancements
Summary: Log enhancements
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-3473
Product: GlusterFS
Classification: Community
Component: core
Version: mainline
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Rajesh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-08-24 06:20 UTC by Sachidananda Urs
Modified: 2013-07-04 22:43 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Amar Tumballi 2011-08-24 03:22:31 UTC
Rajesh,

Please make sure you log the 'path' in all the possible cases in client protocol, so that the debugging becomes easier.

Comment 1 Sachidananda Urs 2011-08-24 06:20:56 UTC
[2011-08-23 17:00:07.949421] I [client3_1-fops.c:2228:client3_1_lookup_cbk] 0-pagecache-client-0: remote operation failed: Stale NFS file handle
[2011-08-23 17:00:07.949721] I [client3_1-fops.c:2228:client3_1_lookup_cbk] 0-pagecache-client-1: remote operation failed: Stale NFS file handle
[2011-08-23 17:01:41.192929] I [client3_1-fops.c:2228:client3_1_lookup_cbk] 0-pagecache-client-0: remote operation failed: Stale NFS file handle
[2011-08-23 17:01:41.193045] I [client3_1-fops.c:2228:client3_1_lookup_cbk] 0-pagecache-client-1: remote operation failed: Stale NFS file handle

While logging errors like above, better to include file names. This will help in figuring out the problem.

Comment 2 Anand Avati 2011-09-19 02:28:11 UTC
CHANGE: http://review.gluster.com/328 (* print paths wherever it is possible to log, to help debugging.) merged in master by Vijay Bellur (vijay)

Comment 3 Anand Avati 2011-09-19 05:53:30 UTC
CHANGE: http://review.gluster.com/452 (minor changes to the log enhancements of bug 765205.) merged in master by Vijay Bellur (vijay)


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