Bug 843408 - changes in statedump
Summary: changes in statedump
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: core
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Raghavendra Bhat
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-26 08:58 UTC by Raghavendra Bhat
Modified: 2013-07-24 17:11 UTC (History)
1 user (show)

Fixed In Version: glusterfs-3.4.0
Clone Of:
Environment:
Last Closed: 2013-07-24 17:11:46 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Raghavendra Bhat 2012-07-26 08:58:32 UTC
Description of problem:

We need some indication about starting of the statedump and the end of the statedump in the statedump file. This is needed because, suppose the filesystem is handling lot of i/o, then if the statedump is taken it takes some time to write all the information to the statedump file. If Ending marker is not there, then one cannot identify when statedump is completely written. 

Apart from that one more change needed is appending timestamp to the statedump filename. As of now pid is appended to the statedump file. But if statedump is taken on the same process again, then the old statedump information is lost. Appending timestamp to the filename will help in retaining old files also.


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


How reproducible:


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


Expected results:


Additional info:

Comment 1 Vijay Bellur 2012-07-30 18:17:08 UTC
CHANGE: http://review.gluster.com/3738 (libglusterfs/statedump: add start and end markers in the statedump file) merged in master by Anand Avati (avati)


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