AmatyaAvadhanula commented on code in PR #16162: URL: https://github.com/apache/druid/pull/16162#discussion_r1579014161
########## server/src/main/java/org/apache/druid/segment/realtime/appenderator/StreamAppenderator.java: ########## @@ -166,8 +168,13 @@ public class StreamAppenderator implements Appenderator private final AtomicBoolean closed = new AtomicBoolean(false); - private final ConcurrentHashMap<SegmentId, Set<SegmentIdWithShardSpec>> - baseSegmentToUpgradedVersions = new ConcurrentHashMap<>(); + private final ConcurrentMap<SegmentIdWithShardSpec, Set<SegmentIdWithShardSpec>> baseSegmentToUpgradedSegments + = new ConcurrentHashMap<>(); + private final ConcurrentMap<SegmentIdWithShardSpec, SegmentIdWithShardSpec> upgradedSegmentToBaseSegment + = new ConcurrentHashMap<>(); + private final ConcurrentHashMap.KeySetView<SegmentIdWithShardSpec, Boolean> abandonedSegments Review Comment: Added -- 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]
