Skip to content

[INLONG-6839][Sort] Clean up remain event when the related stream is offline#6840

Merged
dockerzhang merged 2 commits intoapache:masterfrom
vernedeng:INLONG-6839
Dec 12, 2022
Merged

[INLONG-6839][Sort] Clean up remain event when the related stream is offline#6840
dockerzhang merged 2 commits intoapache:masterfrom
vernedeng:INLONG-6839

Conversation

@vernedeng
Copy link
Contributor

Prepare a Pull Request

Motivation

The remain event will stay in memory forever since there is no any idConfig related to this event when stream offline.
This will cause memory leak and poor performance.

Modifications

Just ack and discards those events which does not relate any idConfigs.

Verifying this change

  • This change is a trivial rework/code cleanup without any test coverage.

Documentation

  • Does this pull request introduce a new feature? (no)

@vernedeng vernedeng changed the title [INLONG-6839][Sort] Clean up remain event when the related stream offline [INLONG-6839][Sort] Clean up remain event when the related stream is offlined Dec 12, 2022
@vernedeng vernedeng changed the title [INLONG-6839][Sort] Clean up remain event when the related stream is offlined [INLONG-6839][Sort] Clean up remain event when the related stream is offline Dec 12, 2022
@dockerzhang dockerzhang merged commit 50b3890 into apache:master Dec 12, 2022
@vernedeng vernedeng deleted the INLONG-6839 branch May 26, 2023 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug][Sort] Clean up remain event when the related stream offline

3 participants