path: root/heal
diff options
authorPranith Kumar K <>2016-02-10 15:28:39 +0530
committerPranith Kumar Karampuri <>2016-02-11 09:05:46 -0800
commit320779d53ae013147d5e2556d2946c73e45734ab (patch)
treea0c67f672ece7ea4a3e67774260b8b5c699cdebb /heal
parent095e2c48271a5248c8711a4e6a34bcb4d44c440e (diff)
heal: Remove sleep()
I wrote this program from a sample gfapi program which had sleep. I am not sure why this sleep was needed. So removing it now. Changed tests/bugs/replicate/bug-1190069-afr-stale-index-entries.t to execute count_sh_entries every second, instead of comparing same value over and over. Change-Id: I7b89d6cab3e50bb7bf4d40a6064f2d8734155bea BUG: 1306199 Signed-off-by: Pranith Kumar K <> Reviewed-on: Smoke: Gluster Build System <> NetBSD-regression: NetBSD Build System <> CentOS-regression: Gluster Build System <> Reviewed-by: Krutika Dhananjay <>
Diffstat (limited to 'heal')
1 files changed, 0 insertions, 1 deletions
diff --git a/heal/src/glfs-heal.c b/heal/src/glfs-heal.c
index 0be21bb..c6c1161 100644
--- a/heal/src/glfs-heal.c
+++ b/heal/src/glfs-heal.c
@@ -937,7 +937,6 @@ main (int argc, char **argv)
goto out;
- sleep (2);
top_subvol = glfs_active_subvol (fs);
if (!top_subvol) {
ret = -1;