[Bugs] [Bug 1379511] Fix spurious failures in open-behind.t
bugzilla at redhat.com
bugzilla at redhat.com
Tue Sep 27 11:44:31 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1379511
--- Comment #3 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: http://review.gluster.org/15575 committed in master by Raghavendra G
(rgowdapp at redhat.com)
------
commit cd072b61841c19ec942871e3f06519d2a938814b
Author: Pranith Kumar K <pkarampu at redhat.com>
Date: Tue Sep 27 07:51:48 2016 +0530
tests: Fix races in open-behind.t
Problems:
1) flush-behind is on by default, so just because write completes doesn't
mean
it will be on the disk, it could still be in write-behind's cache. This
leads to failure where if you write from one mount and expect it to be
there
on the other mount, sometimes it won't be there.
2) Sometimes the graph switch is not completing by the time we issue read
which
is leading to opens not being sent on brick leading to failures.
Fixes:
1) Disable flush-behind
2) Add new functions to check the new graph is there and connected to
bricks
before 'cat' is executed.
BUG: 1379511
Change-Id: I0faed684e0dc70cfd2258ce6fdaed655ee915ae6
Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
Reviewed-on: http://review.gluster.org/15575
Smoke: Gluster Build System <jenkins at build.gluster.org>
Reviewed-by: Raghavendra G <rgowdapp at redhat.com>
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list