Bug 801721

Summary: Incorrect last_sent and last_received time in statedump
Product: [Community] GlusterFS Reporter: Anush Shetty <ashetty>
Component: rpcAssignee: Amar Tumballi <amarts>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: medium    
Version: mainlineCC: gluster-bugs, vraman
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-24 17:27:11 UTC Type: ---
Regression: --- Mount Type: fuse
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 817967    

Description Anush Shetty 2012-03-09 09:25:01 UTC
Description of problem: The  last_sent and last_received time displayed in the statedump is incorrect. 


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


How reproducible: Consistently


Steps to Reproduce:
1. kill -USR1 <pid of glusterfs>

  
Actual results:

[xlator.protocol.client.test2-client-1.priv]
connecting=0
last_sent=Thu Jan  1 05:30:00 1970

last_received=Thu Jan  1 05:30:00 1970

total_bytes_read=2092
total_bytes_written=2828

[xlator.protocol.client.test2-client-0.priv]
connecting=0
last_sent=Thu Jan  1 05:30:00 1970

last_received=Thu Jan  1 05:30:00 1970

total_bytes_read=2412
total_bytes_written=3244



Expected results: Should display the proper time


Additional info:

Comment 1 Anand Avati 2012-03-12 12:27:39 UTC
CHANGE: http://review.gluster.com/2916 (protocol/client: remove unused variables from 'priv/conf') merged in master by Vijay Bellur (vijay)

Comment 2 Anush Shetty 2012-05-18 13:51:11 UTC
Verified with 3.3.0qa41