jon-wei commented on a change in pull request #7595: Optimize overshadowed
segments computation
URL: https://github.com/apache/incubator-druid/pull/7595#discussion_r289153834
##########
File path:
server/src/main/java/org/apache/druid/server/coordinator/DruidCoordinator.java
##########
@@ -233,6 +236,7 @@ public DruidCoordinator(
this.coordLeaderSelector = coordLeaderSelector;
this.segmentCompactor = new
DruidCoordinatorSegmentCompactor(indexingServiceClient);
+ this.dataSourcesSnapshot = metadataSegmentManager.getDataSourcesSnapshot();
Review comment:
This shouldn't be in the constructor, the snapshot should be fetched at the
start of every ooordinator loop iteration
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]