navina commented on code in PR #10136: URL: https://github.com/apache/pinot/pull/10136#discussion_r1081975469
########## pinot-spi/src/main/java/org/apache/pinot/spi/config/table/SegmentsValidationAndRetentionConfig.java: ########## @@ -49,9 +49,13 @@ public class SegmentsValidationAndRetentionConfig extends BaseJsonConfig { // For more usage of this field, please refer to this design doc: https://tinyurl.com/f63ru4sb private String _peerSegmentDownloadScheme; + // Indicates if the segment should be uploaded to the deep store's file system or to the controller during the + // segment commit protocol. By default, segment is uploaded to the controller during commit. + // If this flag is set to true, the segment is uploaded to deep store. + private boolean _uploadToFileSystem = false; Review Comment: > For clarity, also suggest renaming to _serverUploadToDeepStore because we want to emphasize that we want the server to do the upload This makes sense. > this flag belongs to the stream ingestion config, suggest moving it to StreamIngestionConfig yeah. I also agree it fits better in stream ingestion config. Should peer segment download scheme remain in `SegmentsValidationAndRetentionConfig` ? -- 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-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org