[Bugs] [Bug 1149118] Spurious failure on disperse tests (bad file size on brick)
bugzilla at redhat.com
bugzilla at redhat.com
Tue Oct 21 18:39:18 UTC 2014
https://bugzilla.redhat.com/show_bug.cgi?id=1149118
--- Comment #6 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/8902 committed in release-3.6 by Vijay Bellur
(vbellur at redhat.com)
------
commit d01b00ae2b124dfdd6905e463533a715f1cedc5b
Author: Xavier Hernandez <xhernandez at datalab.es>
Date: Thu Sep 18 18:42:34 2014 +0200
test/ec: Fix spurious failures caused by self-heal
The sha1sum of a file may update the access time of that file.
If this happens while a brick is down, as it is forced in the
test, that brick doesn't get the update, getting out of sync.
When the brick is restarted, self-heal repairs the file, but
the test shouldn't access brick contents until self-heal finishes.
If this is combined with a kill of another brick before self-heal
has finished repairing the file, the volume could become inaccessible.
Since the purpose of these tests is only to check ec functionality
(there is another test that checks self-heal), the test that corrupts
the file has been removed.
Additional checks to validate the state of the volume have been added
to avoid some timing issues.
This is a backport of http://review.gluster.org/8892/
BUG: 1149118
Change-Id: I8a40b7f07fc8ecd2c721bad1bcdd351dd8504155
Signed-off-by: Xavier Hernandez <xhernandez at datalab.es>
Reviewed-on: http://review.gluster.org/8902
Tested-by: Gluster Build System <jenkins at build.gluster.com>
Reviewed-by: Dan Lambright <dlambrig 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=ICIOf6WI4C&a=cc_unsubscribe
More information about the Bugs
mailing list