[Bugs] [Bug 1142423] [DHT-REBALANCE]-DataLoss: The data appended to a file during its migration will be lost once the migration is done
bugzilla at redhat.com
bugzilla at redhat.com
Wed Jun 3 05:33:22 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1142423
--- Comment #27 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/10943 committed in master by Raghavendra G
(rgowdapp at redhat.com)
------
commit b6eda067d2e2a0b56718ea71522f6c7b06a09f13
Author: Raghavendra G <rgowdapp at redhat.com>
Date: Thu May 28 16:03:12 2015 +0530
cluster/dht: pass a destination subvol to fop2 variants to avoid races.
The destination subvol used in the fop2 variants is either stored in
inode-ctx1 or local->cached_subvol. However, it is not guaranteed that
a value stored in these locations before invocation of fop2 is still
present after the invocation as these locations are shared among
different concurrent operations. So, to preserve the atomicity of
"check dst-subvol and invoke fop2 variant if dst-subvol found", we
pass down the dst-subvol to fop2 variant.
This patch also fixes error handling in some fop2 variants.
Change-Id: Icc226228a246d3f223e3463519736c4495b364d2
BUG: 1142423
Signed-off-by: Raghavendra G <rgowdapp at redhat.com>
Reviewed-on: http://review.gluster.org/10943
Tested-by: NetBSD Build System <jenkins at build.gluster.org>
Reviewed-by: N Balachandran <nbalacha at redhat.com>
--
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=RJ9DqJ5BoW&a=cc_unsubscribe
More information about the Bugs
mailing list