74b1de
From ae4f538065d26a277e38810c6eef18c0312cd1f3 Mon Sep 17 00:00:00 2001
74b1de
From: Mohit Agrawal <moagrawal@redhat.com>
74b1de
Date: Thu, 26 Sep 2019 17:52:30 +0530
74b1de
Subject: [PATCH 303/304] posix: heketidbstorage bricks go down during PVC
74b1de
 creation
74b1de
74b1de
Problem: In OCS environment heketidbstorage is detached due
74b1de
         to health_check thread is failed.Sometime aio_write
74b1de
         is not successfully finished within default health-check-timeout
74b1de
         limit and the brick is detached.
74b1de
74b1de
Solution: To avoid the issue increase default timeout to 20s
74b1de
74b1de
> Change-Id: Idff283d5713da571f9d20a6b296274f69c3e5b7b
74b1de
> Fixes: bz#1755900
74b1de
> Signed-off-by: Mohit Agrawal <moagrawal@redhat.com>
74b1de
> (Cherry picked from commit c6df9e962483bac5bfcd8916318b19040387ce81)
74b1de
> (Reviewed on upstream link https://review.gluster.org/#/c/glusterfs/+/23495/)
74b1de
74b1de
Change-Id: Idff283d5713da571f9d20a6b296274f69c3e5b7b
74b1de
BUG: 1752713
74b1de
Signed-off-by: Mohit Agrawal <moagrawa@redhat.com>
74b1de
Reviewed-on: https://code.engineering.redhat.com/gerrit/182387
74b1de
Tested-by: RHGS Build Bot <nigelb@redhat.com>
74b1de
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
74b1de
---
74b1de
 xlators/storage/posix/src/posix-common.c | 2 +-
74b1de
 1 file changed, 1 insertion(+), 1 deletion(-)
74b1de
74b1de
diff --git a/xlators/storage/posix/src/posix-common.c b/xlators/storage/posix/src/posix-common.c
74b1de
index 69857d9..2cb58ba 100644
74b1de
--- a/xlators/storage/posix/src/posix-common.c
74b1de
+++ b/xlators/storage/posix/src/posix-common.c
74b1de
@@ -1257,7 +1257,7 @@ struct volume_options posix_options[] = {
74b1de
     {.key = {"health-check-timeout"},
74b1de
      .type = GF_OPTION_TYPE_INT,
74b1de
      .min = 0,
74b1de
-     .default_value = "10",
74b1de
+     .default_value = "20",
74b1de
      .validate = GF_OPT_VALIDATE_MIN,
74b1de
      .description =
74b1de
          "Interval in seconds to wait aio_write finish for health check, "
74b1de
-- 
74b1de
1.8.3.1
74b1de