Upstream patch sent for review. http://review.gluster.org/#/c/9453/
The upstream patch: http://review.gluster.org/#/c/9453/ is the one that archives changelogs in working directory and avoids creation of zero byte xsync changelogs which addresses this bug. Once, it is merged upstream, backporting it should fix this bug. The corresponding upstream bug is https://bugzilla.redhat.com/show_bug.cgi?id=1169331 The upstream patch: http://review.gluster.org/#/c/9572/ is to avoid creation of zero byte changelog files at backend which is different.
Downstream patch sent https://code.engineering.redhat.com/gerrit/#/c/42344/
Tested and verified the two patches mentioned in comment#5 on version glusterfs-3.6.0.46-1.el6rhs.x86_64. After the changelogs are processed an archive.tar is created in processed directory. In my testbed: Working directory: /var/lib/misc/glusterfsd/master/ssh%3%2F%2Froot%4010.x.x.x%3Agluster%3A%2F%2F127.0.0.1%3Aslave We would see an archive file for the processed changelog. Validated the entries in it: ./6ba51664ad363afecedbc65396e2c80c/.processed/archive_201502.tar Validated the same for xsync and history as well. ./a8923163236aecc5b19cb96e2e94f8f7/xsync/archive_201502.tar ./6ba51664ad363afecedbc65396e2c80c/.history/.processed/archive_201502.tar Note: I have not tested the CPU spikes mentioned in the test case as we are not really sure what was the customer's workload at that time.
Hi Aravinda, The doc text is updated. review the same and sign off if it looks ok.
(In reply to Bhavana from comment #9) > Hi Aravinda, > > The doc text is updated. review the same and sign off if it looks ok. looks good to me.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-0682.html