Red Hat Bugzilla – Bug 977210
quota: soft-timeout and hard-timeout seems missing from quotad.vol
Last modified: 2016-01-19 01:12:10 EST
Description of problem:
as per the information that I have the options,
option dist-rep.hard-timeout 2
option dist-rep.soft-timeout 10
should have been mentioned in quotad.vol
On this release they are found there.
[root@quota1 ~]# less /var/lib/glusterd/quotad/quotad.vol | grep timeout
Version-Release number of selected component (if applicable):
[root@quota1 ~]# rpm -qa | grep glusterfs
These are default values, which is why they are not displayed in quotad.vol. However, if you explicitly configure their values through 'volume quota' interface, they must appear in the volfile.
if you look into the standards of other volume files like in nfs-server.vol
the default values are also displayed.
Please update the quotad related file with the default values
These default values don't need to be written into the volfile. This is because every xlator will have its own options table from which it fetches the default value of the option if it is not present already in the volfile.
It's only when the value is reconfigured (via volume 'quota soft-timeout' interface) that glusterd needs to notify quotad with the changes written in volfile.
So long as the deviation of an option value from its default value is reflected in the volfile and notify quotad of the change (which we do already), we're safe.
On second thought, I am moving the bug to CLOSED state for reasons stated in comment #4.
Also you may have noticed that the functionality of quotad does not get affected by the default values being present or not present in the volfile. This is because quotad is itself aware of the default values for these options.