You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@doris.apache.org by GitBox <gi...@apache.org> on 2019/08/12 10:20:54 UTC

[GitHub] [incubator-doris] jiangshouzhuang opened a new pull request #1627: fix backends disk error statistics issue

jiangshouzhuang opened a new pull request #1627: fix backends disk error statistics issue
URL: https://github.com/apache/incubator-doris/pull/1627
 
 
   #1608
   
   The main problem solved is an error in disk statistics when Doris's storage_root_path is set to a storage limit, rather than using the full disk capacity.
   
   The modification points are as follows:
   1. In masterservice.thrift, a new parameter is added to the TDisk structure, and the ambiguous parameters are adjusted at the same time
   2. Get the size of the total disk capacity in the BE module
   3. Fix the error information of UsedPct and MaxDiskUsedPct statistics in the current version
   
   Test screenshots are as follows:
   * http://FE_HOST:IP/system?path=//backends
   ![image](https://user-images.githubusercontent.com/19518068/62831536-a77ff880-bc53-11e9-9afb-537d0a163307.png)
       - DataUsedCapacity: Size already used by Doris's databases
       - AvailCapacity: Disk remaining size
       - TotalCapacity: The total amount of the storage_root_path parameter configured
       - TotalUsedPct: DataUsedCapacity/TotalCapacity
       - DiskTotalCapacity: The total size of the disk where storage_root_path resides
   * http://FE_HOST:IP/system?path=//backends/11001 
   ![image](https://user-images.githubusercontent.com/19518068/62831539-ac44ac80-bc53-11e9-9efb-c5a73da85013.png)
       - DataUsedCapacity: Size already used by Doris's databases in current RootPath
       - OtherUsedCapacity: Other than Doris, the size is taken up
       - AvailCapacity: Disk remaining size
       - TotalCapacity: The size of the storage_root_path parameter configured
       - TotalUsedPct: DataUsedCapacity/TotalCapacity
       - DiskTotalCapacity: The size of the disk where storage_root_path resides
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@doris.apache.org
For additional commands, e-mail: dev-help@doris.apache.org