J-HowHuang commented on code in PR #18492:
URL: https://github.com/apache/pinot/pull/18492#discussion_r3238277836


##########
pinot-core/src/main/java/org/apache/pinot/core/data/manager/provider/TableDataManagerProvider.java:
##########
@@ -55,15 +55,34 @@ TableDataManager getTableDataManager(TableConfig 
tableConfig,
       @Nullable ExecutorService segmentPreloadExecutor,
       @Nullable Cache<Pair<String, String>, SegmentErrorInfo> errorCache,
       BooleanSupplier isServerReadyToServeQueries,
+      BooleanSupplier isIngestionPausedDueToStartUp,
       boolean enableAsyncSegmentRefresh,
       ServerReloadJobStatusCache reloadJobStatusCache);
 
+  /**
+   * Backward-compatible overload that does not gate ingestion at startup. 
Delegates to the full overload with
+   * {@code isIngestionPausedDueToStartUp = () -> false}.
+   */
+  default TableDataManager getTableDataManager(TableConfig tableConfig,

Review Comment:
   Removed the fall-back constructor



##########
pinot-core/src/main/java/org/apache/pinot/core/data/manager/realtime/RealtimeTableDataManager.java:
##########
@@ -138,6 +138,7 @@ public class RealtimeTableDataManager extends 
BaseTableDataManager {
   protected Cache<String, StreamMetadataProvider> _streamMetadataProviderCache;
 
   private final BooleanSupplier _isServerReadyToServeQueries;
+  private final BooleanSupplier _isIngestionPausedDueToStartUp;

Review Comment:
   done



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to