Merge pull request #15732 from taosdata/fix/ZhiqiangWang/TD-18093-fix-log-error

os: fix log error
This commit is contained in:
Zhiqiang Wang 2022-08-04 11:33:57 +08:00 committed by GitHub
commit 4e05b741ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -698,8 +698,6 @@ static void *taosAsyncOutputLog(void *param) {
if (count > 1000) {
osUpdate();
count = 0;
uError("Write log file failed, since log disk spase is not enough.\n %f GB, too little, require %f GB at least at least.", (double)tsLogSpace.size.avail / 1024.0 / 1024.0 / 1024.0, (double)tsLogSpace.reserved / 1024.0 / 1024.0 / 1024.0);
if (!osLogSpaceAvailable()) pLogBuf->stop = 1;
}
// Polling the buffer