wirybeaver commented on code in PR #10815: URL: https://github.com/apache/pinot/pull/10815#discussion_r1306863660
########## pinot-controller/src/main/java/org/apache/pinot/controller/ControllerConf.java: ########## @@ -215,9 +215,14 @@ public static class ControllerPeriodicTasksConf { "controller.realtime.segment.deepStoreUploadRetryEnabled"; public static final String DEEP_STORE_RETRY_UPLOAD_TIMEOUT_MS = "controller.realtime.segment.deepStoreUploadRetry.timeoutMs"; + public static final String ENABLE_TMP_SEGMENT_ASYNC_DELETION = + "controller.realtime.split.commit.segment.tmp.cleanup.async.enable"; + public static final String SPLIT_COMMIT_TMP_SEGMENT_LIFETIME_SECOND = + "controller.realtime.split.commit.segment.tmp.lifetime.second"; public static final int MIN_INITIAL_DELAY_IN_SECONDS = 120; public static final int MAX_INITIAL_DELAY_IN_SECONDS = 300; + public static final int DEFAULT_SPLIT_COMMIT_TMP_SEGMENT_LIFETIME_SECOND = 600; Review Comment: The .tmp.<UUID> file is generated during segment commit phase. If there's any timeout during the remote file system connection + ZK update connection, then this .tmp.<UUID> won't be use anymore. The 10min comes from 5 min timeout in file system connection plus 5 min timeout in zk connection. -- 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