wirybeaver commented on code in PR #10815: URL: https://github.com/apache/pinot/pull/10815#discussion_r1295492501
########## pinot-controller/src/main/java/org/apache/pinot/controller/ControllerConf.java: ########## @@ -921,10 +953,19 @@ public boolean isDeepStoreRetryUploadLLCSegmentEnabled() { return getProperty(ControllerPeriodicTasksConf.ENABLE_DEEP_STORE_RETRY_UPLOAD_LLC_SEGMENT, false); } + public boolean isTmpSegmentAsyncDeletionEnabled() { + return getProperty(ControllerPeriodicTasksConf.ENABLE_TMP_SEGMENT_ASYNC_DELETION, false); + } + public int getDeepStoreRetryUploadTimeoutMs() { return getProperty(ControllerPeriodicTasksConf.DEEP_STORE_RETRY_UPLOAD_TIMEOUT_MS, -1); } + public int getTmpSegmentRetentionInSeconds() { + return getProperty(ControllerPeriodicTasksConf.SPLIT_COMMIT_TMP_SEGMENT_LIFETIME_SECOND, Review Comment: the default value is 600s. Don't want to make it too short or skip it. Because it's likely that the current consuming segment is being committed by the lead server and the lead server will generate an intermediate tmp segment, which is a valid case. -- 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