findingrish commented on code in PR #13967:
URL: https://github.com/apache/druid/pull/13967#discussion_r1174796351


##########
server/src/main/java/org/apache/druid/client/DataSourcesSnapshot.java:
##########
@@ -123,6 +216,70 @@ public ImmutableSet<DataSegment> getOvershadowedSegments()
     return overshadowedSegments;
   }
 
+  public Map<String, Set<SegmentId>> getHandedOffStatePerDataSource()
+  {
+    return handedOffStatePerDataSource;
+  }
+
+  public CircularBuffer<ChangeRequestHistory.Holder<List<DataSegmentChange>>> 
getChanges()
+  {
+    return changes;
+  }
+
+  public ChangeRequestsSnapshot<DataSegmentChange> 
getChangesSince(ChangeRequestHistory.Counter counter)

Review Comment:
   Moved the logic to ChangeRequestHistory.



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