[Gluster-devel] question on glustershd

Emmanuel Dreyfus manu at netbsd.org
Wed Dec 3 04:13:04 UTC 2014


Ravishankar N <ravishankar at redhat.com> wrote:

> The index healer threads scan the .glusterfs/indices/xattrop directory of
> the respective bricks in a while loop with a sleep (1). Even if only one
> entry is present in it, wouldn't it be unlikely that contention happens
> every time? One of the threads should succeed in getting the inodelks
> eventually.

I have not yet understood where is the code that retries when
afr_selfheal_tryinodelk() reports failure. I understand the healer
completes its sweep without attempting again to fix the entry later.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu at netbsd.org


More information about the Gluster-devel mailing list