From e5e558c0d3dfd7cab8cfc7c9271ee24873b1224f Mon Sep 17 00:00:00 2001 From: Abhishek Balaji Radhakrishnan Date: Thu, 14 Mar 2024 12:34:35 +0530 Subject: [PATCH] fixup build. --- .../druid/metadata/IndexerSQLMetadataStorageCoordinator.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/src/main/java/org/apache/druid/metadata/IndexerSQLMetadataStorageCoordinator.java b/server/src/main/java/org/apache/druid/metadata/IndexerSQLMetadataStorageCoordinator.java index 44d09c7da4f..f89ed18d3a3 100644 --- a/server/src/main/java/org/apache/druid/metadata/IndexerSQLMetadataStorageCoordinator.java +++ b/server/src/main/java/org/apache/druid/metadata/IndexerSQLMetadataStorageCoordinator.java @@ -425,6 +425,8 @@ public class IndexerSQLMetadataStorageCoordinator implements IndexerMetadataStor throw new IllegalArgumentException("start/end metadata pair must be either null or non-null"); } + final String dataSource = segments.iterator().next().getDataSource(); + // Find which segments are used (i.e. not overshadowed). final Set usedSegments = new HashSet<>(); List> segmentHolders =