Red Hat Bugzilla – Bug 843408
changes in statedump
Last modified: 2013-07-24 13:11:46 EDT
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):
Steps to Reproduce:
CHANGE: http://review.gluster.com/3738 (libglusterfs/statedump: add start and end markers in the statedump file) merged in master by Anand Avati (firstname.lastname@example.org)