[Bugs] [Bug 1271150] regression : RHGS 3.0 introduced a maximum value length in the info files
bugzilla at redhat.com
bugzilla at redhat.com
Wed Oct 14 20:42:34 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1271150
--- Comment #8 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/12346 committed in master by Niels de Vos
(ndevos at redhat.com)
------
commit 816ca94f5dd49f34f395caf501de3c71f0ba113d
Author: Gaurav Kumar Garg <garg.gaurav52 at gmail.com>
Date: Tue Oct 13 14:40:55 2015 +0530
libglusterfs: pass buffer size to gf_store_read_and_tokenize function
Previously if user set an option where length of key=value goes beyond
PATH_MAX (4096) character then tokenzing the option at the time of
reading configuration file will fail.
This is because of the we was having restraction in fgets to read maximum
of PATH_MAX (4096) length of character.
Consequence of this is when user try to restart glusterd, after setting
key=value length beyond PATH_MAX (4096) character, glusterd will not
restart.
With this fix instead of PATH_MAX, consumer of gf_store_read_and_tokenize
function will decide the size of the buffer length.
Change-Id: I655a8ce982effdfff8f3e785ea31f543dbe39301
BUG: 1271150
Signed-off-by: Gaurav Kumar Garg <ggarg at redhat.com>
Reviewed-on: http://review.gluster.org/12346
Tested-by: NetBSD Build System <jenkins at build.gluster.org>
Tested-by: Gluster Build System <jenkins at build.gluster.com>
Reviewed-by: Anand Nekkunti <anekkunt at redhat.com>
Reviewed-by: Niels de Vos <ndevos at redhat.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list