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