clintropolis opened a new pull request, #18962:
URL: https://github.com/apache/druid/pull/18962

   This PR adds a new `tier/storage/capacity` metric for the coordinator to 
emit that is guaranteed to reflect the total `StorageLocation` size configured 
across all historicals in a tier. Where the existing `tier/total/capacity` is 
computed based on `maxSize` advertised by the data node servers, 
`tier/storage/capacity` is computed on a new `storageSize` field that has been 
added. Mechanically this means `storageSize` has been added to 
`DruidServer`/`DruidServerMetadata`/`DataNodeService`, and is populated with 
`segmentLoaderConfig.getCombinedSize` as an alternative to `maxSize`, which is 
possibly set by config or computed to a large value when in virtual storage 
mode. 
   
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to