Jackie-Jiang commented on code in PR #14093: URL: https://github.com/apache/pinot/pull/14093#discussion_r1779007894
########## pinot-server/src/main/java/org/apache/pinot/server/starter/helix/HelixInstanceDataManagerConfig.java: ########## @@ -135,6 +135,9 @@ public class HelixInstanceDataManagerConfig implements InstanceDataManagerConfig private static final String EXTERNAL_VIEW_DROPPED_MAX_WAIT_MS = "external.view.dropped.max.wait.ms"; private static final String EXTERNAL_VIEW_DROPPED_CHECK_INTERVAL_MS = "external.view.dropped.check.interval.ms"; + public static final String SEGMENT_SERVER_UPLOAD_TO_DEEP_STORE = "segment.server.upload.to.deep.store"; Review Comment: We should be able to simply the name because this config is under the context of server config (with prefix `pinot.server.instance`) ```suggestion public static final String UPLOAD_SEGMENT_TO_DEEP_STORE = "segment.upload.to.deep.store"; ``` ########## pinot-server/src/main/java/org/apache/pinot/server/starter/helix/HelixInstanceDataManagerConfig.java: ########## @@ -330,4 +333,10 @@ public PinotConfiguration getAuthConfig() { public Map<String, Map<String, String>> getTierConfigs() { return _tierConfigs; } + + @Override + public boolean getDefaultServerUploadToDeepStore() { Review Comment: ```suggestion public boolean isUploadSegmentToDeepStore() { ``` ########## pinot-core/src/test/java/org/apache/pinot/core/data/manager/realtime/SegmentCommitterFactoryTest.java: ########## @@ -27,16 +27,17 @@ import org.apache.pinot.common.protocols.SegmentCompletionProtocol; import org.apache.pinot.segment.local.segment.index.loader.IndexLoadingConfig; import org.apache.pinot.server.realtime.ServerSegmentCompletionProtocolHandler; +import org.apache.pinot.spi.config.instance.InstanceDataManagerConfig; import org.apache.pinot.spi.config.table.TableConfig; import org.apache.pinot.spi.config.table.TableType; +import org.apache.pinot.spi.env.PinotConfiguration; import org.apache.pinot.spi.stream.StreamConfigProperties; import org.apache.pinot.spi.utils.builder.TableConfigBuilder; import org.mockito.Mockito; import org.slf4j.Logger; import org.testng.Assert; import org.testng.annotations.Test; - Review Comment: (nit) Is the code format set up correctly? My IDE keeps 2 empty lines between `import` and `class` -- 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