jon-wei commented on a change in pull request #7490: Add reload by interval API
URL: https://github.com/apache/incubator-druid/pull/7490#discussion_r277915891
 
 

 ##########
 File path: 
server/src/main/java/org/apache/druid/metadata/SQLMetadataSegmentManager.java
 ##########
 @@ -219,83 +218,148 @@ public void stop()
     }
   }
 
-  @Override
-  public boolean enableDataSource(final String dataSource)
+  private VersionedIntervalTimeline<String, DataSegment> 
getVersionedIntervalTimeline(final String dataSource, final Interval interval)
 
 Review comment:
   I think `buildVersionedIntervalTimeline` would be a better name, with a 
method javadoc that explains that it builds a new versioned interval timeline 
from all segments (enabled or disabled) that overlap with the provided interval

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

Reply via email to