yuanbenson opened a new issue, #10244:
URL: https://github.com/apache/pinot/issues/10244

   `/tables/{tableName}/metadata` endpoint should take an additional parameter 
such as `excludeReplacedSegments` as found in 
[getSegments](https://github.com/apache/pinot/blob/master/pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotSegmentRestletResource.java#L199)
 in order to discern between reporting stats with consistent push accounted for 
or not.
   
   Currently, the table returns `TableMetadata` with info such as 
`diskSizeInBytes`, `numSegments` and `numRows` approximately doubled _**when 
consistent push is in-place**_, and users who are unaware of the consistent 
push concept may incorrectly interpret the result, e.g. leading to provisioning 
2x the the storage by mistake. 
   
   This should be done in a backward compatible manner, with the default 
behavior being the current one if the additional param is not explicitly set. 


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