summaryrefslogtreecommitdiffstats
path: root/doc/developer-guide
diff options
context:
space:
mode:
authorRavishankar N <ravishankar@redhat.com>2015-09-01 15:54:39 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2015-09-02 03:18:54 -0700
commit78e89fb0a70a053e85bba0f68ff4e8841818dd54 (patch)
tree887a0afaebdc0ebfe20eaf1fd9c8d3004cf80a1a /doc/developer-guide
parentd46d571d86c86bd387de323522cfcb8a013f28ad (diff)
afr: Unset dirty xattr after setting pending xattr during post-op
In AFR transaction, in the pre-op, the dirty xattr is set. In the post-op, if the transaction fails on one of the bricks, then on the healthy brick, the dirty xattr is unset and then the pending xattr (for the brick that went down) is set in that order. If the brick crashes after unsetting the dirty xattr, we have lost information about a pending heal. Hence we need to reverse the order, i.e. set pending xattr first followed by unsetting the dirty. Change-Id: I0b8a872cb4579a1bad602f70c76f09691bd582b2 BUG: 1258801 Signed-off-by: Ravishankar N <ravishankar@redhat.com> Reviewed-on: http://review.gluster.org/12078 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Reviewed-by: Anuradha Talur <atalur@redhat.com> Reviewed-by: Krutika Dhananjay <kdhananj@redhat.com>
Diffstat (limited to 'doc/developer-guide')
0 files changed, 0 insertions, 0 deletions