From 8d2d9b99389d873e8af3a41f4ef62c9b1f135b9f Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Thu, 24 Dec 2020 21:24:46 +0800 Subject: [PATCH] changes minimum disk space --- src/common/src/tglobal.c | 4 ++-- src/util/src/tlog.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/src/tglobal.c b/src/common/src/tglobal.c index 78cf1c2ffa..6a0fc2a63d 100644 --- a/src/common/src/tglobal.c +++ b/src/common/src/tglobal.c @@ -199,8 +199,8 @@ float tsTotalTmpDirGB = 0; float tsTotalDataDirGB = 0; float tsAvailTmpDirectorySpace = 0; float tsAvailDataDirGB = 0; -float tsReservedTmpDirectorySpace = 0.1f; -float tsMinimalDataDirGB = 0.5f; +float tsReservedTmpDirectorySpace = 1.0f; +float tsMinimalDataDirGB = 1.0f; int32_t tsTotalMemoryMB = 0; int32_t tsVersion = 0; diff --git a/src/util/src/tlog.c b/src/util/src/tlog.c index c0f89e8465..76ea6fa1e5 100644 --- a/src/util/src/tlog.c +++ b/src/util/src/tlog.c @@ -67,7 +67,7 @@ int32_t tsLogKeepDays = 0; int32_t tsAsyncLog = 1; float tsTotalLogDirGB = 0; float tsAvailLogDirGB = 0; -float tsMinimalLogDirGB = 0.1f; +float tsMinimalLogDirGB = 1.0f; #ifdef _TD_POWER_ char tsLogDir[TSDB_FILENAME_LEN] = "/var/log/power"; #else -- GitLab