Merge pull request #10499 from taosdata/fix/ZhiqiangWang/TD-13756-file-system-write-fsync-error

[TD-13756]<fix>: file system write fsync error
This commit is contained in:
Zhiqiang Wang 2022-03-02 15:35:58 +08:00 committed by GitHub
commit d15b1867e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,7 @@ int64_t taosWriteFile(TdFilePtr pFile, const void *buf, int64_t count) {
nleft -= nwritten;
tbuf += nwritten;
}
fsync(pFile->fd);
return count;
}