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