Red Hat Bugzilla – Bug 1253148
gf_store_save_value fails to check for errors, leading to emptying files in /var/lib/glusterd/
Last modified: 2016-06-05 19:38:14 EDT
REVIEW: http://review.gluster.org/11902 (libglusterfs: write error handling when filesystem have no space left) posted (#2) for review on release-3.7 by Gaurav Kumar Garg (email@example.com)
COMMIT: http://review.gluster.org/11902 committed in release-3.7 by Atin Mukherjee (firstname.lastname@example.org)
Author: Gaurav Kumar Garg <email@example.com>
Date: Mon Jun 1 14:35:57 2015 +0530
libglusterfs: write error handling when filesystem have no space left
When no space left on filesystem and user want to perform any operation
which result to change in /var/lib/glusterd/* files then glusterd is
failing to write on temporary file.
Fix is to handle error when write failed on temporary files due to no
space left on file system.
Signed-off-by: Gaurav Kumar Garg <firstname.lastname@example.org>
Reviewed-by: Niels de Vos <email@example.com>
Tested-by: NetBSD Build System <firstname.lastname@example.org>
Tested-by: Gluster Build System <email@example.com>
Reviewed-by: Cedric Buissart
(cherry picked from commit e7f737e62a9ea9eac730b6ba3ef8739e497e1540)
Reviewed-by: Atin Mukherjee <firstname.lastname@example.org>
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.4, please open a new bug report.
glusterfs-3.7.4 has been announced on the Gluster mailinglists , packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist  and the update infrastructure for your distribution.