Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3536,6 +3536,13 @@ public boolean isReplicationBacklogExist() {

@Override
public void checkGC() {
if (TopicName.get(topic).isSegment()) {
// Segment-backing topics are owned by ScalableTopicController; its GC tick
// decides when a sealed segment is drained + retention-expired and deletes
// the topic. Letting v4 inactive-topic-GC race against that would risk the
// broker quietly tearing down a segment the controller still considers live.
return;
}
if (!isDeleteWhileInactive()) {
// This topic is not included in GC
return;
Expand Down
Loading
Loading