[Bugs] [Bug 1515266] Prevent ec from continue processing heal operations after PARENT_DOWN

bugzilla at redhat.com bugzilla at redhat.com
Wed Nov 22 18:23:31 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1515266



--- Comment #3 from Xavi Hernandez <jahernan at redhat.com> ---
(In reply to Ashish Pandey from comment #1)
> Xavi,
> 
> This issue is true for afr also. Do you think we can fix it in some common
> place 
> like syntask infra? Or we have to deal with it separately.
> 
> Ashish

I'm not sure how synctask could help here. It should have access to some
information telling if the xlator that has initiated the operation is shutting
down or not (I don't think we have this). But even then, aborting a single
operation doesn't guarantee that the caller do not attempt another synctask
operation (for example healing the next entry of a directory) still delaying
the shutdown and causing multiple failures on fops that have not really failed
(it will probably add noise to the logs).

I think this is better to be handled inside the xlator itself. If AFR already
tracks ongoing regular operations, I think it would be relatively easy to
include heals in the checks, though I haven't looked at it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=djXwQpJWmu&a=cc_unsubscribe


More information about the Bugs mailing list