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 (firstname.lastname@example.org)
COMMIT: http://review.gluster.org/11902 committed in release-3.7 by Atin Mukherjee (email@example.com)
Author: Gaurav Kumar Garg <firstname.lastname@example.org>
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 <email@example.com>
Reviewed-by: Niels de Vos <firstname.lastname@example.org>
Tested-by: NetBSD Build System <email@example.com>
Tested-by: Gluster Build System <firstname.lastname@example.org>
Reviewed-by: Cedric Buissart
(cherry picked from commit e7f737e62a9ea9eac730b6ba3ef8739e497e1540)
Reviewed-by: Atin Mukherjee <email@example.com>
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.