xiangqiao123 commented on a change in pull request #9935:
URL: https://github.com/apache/druid/pull/9935#discussion_r449572296



##########
File path: 
server/src/main/java/org/apache/druid/metadata/IndexerSQLMetadataStorageCoordinator.java
##########
@@ -77,12 +79,14 @@
 import java.util.Map;
 import java.util.Set;
 import java.util.concurrent.atomic.AtomicBoolean;
+import java.util.stream.Collectors;
 
 /**
  */
 public class IndexerSQLMetadataStorageCoordinator implements 
IndexerMetadataStorageCoordinator
 {
   private static final Logger log = new 
Logger(IndexerSQLMetadataStorageCoordinator.class);
+  private static final int ANNOUNCE_HISTORICAL_SEGMENG_BATCH = 100;

Review comment:
       The number 100 is just experience. 
   Variable name has been changed to MAX_NUM_SEGMENTS_TO_ANNOUNCE_AT_ONCE.




----------------------------------------------------------------
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.

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