You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by "yuanbenson (via GitHub)" <gi...@apache.org> on 2023/02/08 01:26:31 UTC

[GitHub] [pinot] yuanbenson opened a new issue, #10244: Add excludeReplacedSegments into table metadata API

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: commits-unsubscribe@pinot.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


[GitHub] [pinot] yuanbenson commented on issue #10244: Add excludeReplacedSegments into table metadata API

Posted by "yuanbenson (via GitHub)" <gi...@apache.org>.
yuanbenson commented on issue #10244:
URL: https://github.com/apache/pinot/issues/10244#issuecomment-1421790284

   @sajjad-moradi  I'd like to take this up :) 


-- 
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: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


[GitHub] [pinot] Jackie-Jiang commented on issue #10244: Add excludeReplacedSegments into table metadata API

Posted by "Jackie-Jiang (via GitHub)" <gi...@apache.org>.
Jackie-Jiang commented on issue #10244:
URL: https://github.com/apache/pinot/issues/10244#issuecomment-1421790191

   cc @snleee 


-- 
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: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org