adarshsanjeev commented on code in PR #17863:
URL: https://github.com/apache/druid/pull/17863#discussion_r2028340030
##########
server/src/main/java/org/apache/druid/server/coordinator/SegmentCountsPerInterval.java:
##########
@@ -61,6 +66,11 @@ public long getTotalSegmentBytes()
return totalSegmentBytes;
}
+ public Set<DataSegment> getSegments()
Review Comment:
I think this makes sense. We would also need to account for dropped
segments, so it would need something like
```java
if (action.isLoad()) {
projectedSegments.add(segment);
} else {
projectedSegments.remove(segment);
}
```
as well.
--
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]