未验证 提交 402b3afe 编写于 作者: S Shengliang Guan 提交者: GitHub

Merge pull request #5250 from taosdata/fix/TD-3038

[TD-3038]<fix>: fix incorrect disk free size calculation
...@@ -52,7 +52,7 @@ int tfsUpdateDiskInfo(SDisk *pDisk) { ...@@ -52,7 +52,7 @@ int tfsUpdateDiskInfo(SDisk *pDisk) {
} }
pDisk->dmeta.size = diskSize.tsize; pDisk->dmeta.size = diskSize.tsize;
pDisk->dmeta.free = diskSize.tsize - diskSize.avail; pDisk->dmeta.free = diskSize.avail;
return code; return code;
} }
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册