I think it happens in OvershadowableManager. It is used to determine the visible segment set in VersionedIntervalTimeline
m
Maytas Monsereenusorn
08/10/2023, 6:57 AM
do you happen to know what happened if a historical suddenly goes down and a segment set is no longer complete (part of that set is on the historical that went down)?
a
Amatya Avadhanula
08/10/2023, 7:04 AM
BrokerServerView#serverRemovedSegment is called for the segments for which the historical went down.
VersionedIntervalTimeline#remove
PartitionHolder#removeChunk
OvershadowableManager#removeChunk
OvershadowableManager#tryRemoveChunkFromGroupWithState(chunk, VISIBLE)