gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gluster-devel] Afr handling dir fop failures on all nodes gracefully.


From: Pranith Kumar K
Subject: [Gluster-devel] Afr handling dir fop failures on all nodes gracefully.
Date: Wed, 09 Jan 2013 17:58:06 +0530
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

hi,
         Attaching the steps to re-create the issue.
As part of Entry transaction, before performing create/mknod/mkdir/rmdir/unlink/link/symlink/rename fops, afr takes appropriate entry locks and then performs pre-op. If the fop fails on all nodes then the changelog leaves the directory in 'FOOL' state. Because of this the subsequent self-heal will be conservative merge, which may bring back the files that were already deleted leading to duplicate entries across distribute subvolumes.

We need to improve afr-transaction to handle this case gracefully.

Sending this mail to start the discussion towards a solution. Please feel free to contribute.

Pranith.

Attachment: test.t
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]