Skip to content

[test](p0) fix load stream leak in injection cases#42681

Merged
liaoxin01 merged 1 commit intoapache:masterfrom
kaijchen:fix-load-stream-leak-injection
Oct 30, 2024
Merged

[test](p0) fix load stream leak in injection cases#42681
liaoxin01 merged 1 commit intoapache:masterfrom
kaijchen:fix-load-stream-leak-injection

Conversation

@kaijchen
Copy link
Member

@kaijchen kaijchen commented Oct 29, 2024

Proposed changes

Some injection cases (e.g. VTabletWriterV2._open_streams_to_backend.node_info_null) will cause LoadStream leak.
Because the injection was disabled too early.

When some sink operators returns "failed" status to the user (regression framework), other sinks are still executing.
Causing partially opened LoadStreams (some instances are not fault-injected, and successfully open the stream).
We should wait a small amount of time to safely assume all instances are done, before disabling the injection.

@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@kaijchen
Copy link
Member Author

run buildall

Copy link
Contributor

@dataroaring dataroaring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Oct 29, 2024
@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

@liaoxin01 liaoxin01 merged commit a33fb09 into apache:master Oct 30, 2024
github-actions bot pushed a commit that referenced this pull request Oct 30, 2024
## Proposed changes

Some injection cases (e.g.
`VTabletWriterV2._open_streams_to_backend.node_info_null`) will cause
LoadStream leak.
Because the injection was disabled too early.

When some sink operators returns "failed" status to the user (regression
framework), other sinks are still executing.
Causing partially opened LoadStreams (some instances are not
fault-injected, and successfully open the stream).
We should wait a small amount of time to safely assume all instances are
done, before disabling the injection.
kaijchen added a commit to kaijchen/doris that referenced this pull request Nov 4, 2024
## Proposed changes

Some injection cases (e.g.
`VTabletWriterV2._open_streams_to_backend.node_info_null`) will cause
LoadStream leak.
Because the injection was disabled too early.

When some sink operators returns "failed" status to the user (regression
framework), other sinks are still executing.
Causing partially opened LoadStreams (some instances are not
fault-injected, and successfully open the stream).
We should wait a small amount of time to safely assume all instances are
done, before disabling the injection.
kaijchen added a commit to kaijchen/doris that referenced this pull request Nov 8, 2024
## Proposed changes

Some injection cases (e.g.
`VTabletWriterV2._open_streams_to_backend.node_info_null`) will cause
LoadStream leak.
Because the injection was disabled too early.

When some sink operators returns "failed" status to the user (regression
framework), other sinks are still executing.
Causing partially opened LoadStreams (some instances are not
fault-injected, and successfully open the stream).
We should wait a small amount of time to safely assume all instances are
done, before disabling the injection.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. dev/2.1.8-merged dev/3.0.3-merged reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants