Description of problem: Only server is the required argument for glfs_set_volfile_server and both transport and port are optional. When glfs_set_volfile_server is invocated multiple times, only on the first invocation we replace port 0 with 24007 and transport NULL with "localhost". Hence, replacing the parameters at the entry function is the right way. How reproducible: Always Steps to Reproduce: 1. Download the attached program. 2. Find the readme within the file. 3. Follow the instructions.
REVIEW: http://review.gluster.org/12114 (gfapi: transport and port are optional for glfs_set_volfile_server) posted (#1) for review on master by Raghavendra Talur (rtalur)
Created attachment 1070875 [details] test to reproduce the issue
REVIEW: http://review.gluster.org/12114 (gfapi: transport and port are optional for glfs_set_volfile_server) posted (#2) for review on master by Raghavendra Talur (rtalur)
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.8.0, please open a new bug report. glusterfs-3.8.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://blog.gluster.org/2016/06/glusterfs-3-8-released/ [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user