Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug][Sort] S3DirtySink flushes too quickly #7293

Closed
2 tasks done
Yizhou-Yang opened this issue Jan 30, 2023 · 0 comments · Fixed by #7290
Closed
2 tasks done

[Bug][Sort] S3DirtySink flushes too quickly #7293

Yizhou-Yang opened this issue Jan 30, 2023 · 0 comments · Fixed by #7290
Assignees
Labels
component/sort type/bug Something is wrong
Milestone

Comments

@Yizhou-Yang
Copy link
Contributor

What happened

For jdbc multiple sink and other multiple sinks, when invoke is more frequent then the scheduler's batch interval, the dirty data will flush at a faster rate.

What you expected to happen

let's say the batch interval is 60000. if I call dirtySink.invoke every 1 second, it will invoke, then flush 1-2 records every one second, instead of the 60s which the batch interval is supposed to be.

How to reproduce

let's say the batch interval is 60000. if I call dirtySink.invoke every 1 second, it will invoke, then flush 1-2 records every one second, instead of the 60s which the batch interval is supposed to be.

Environment

No response

InLong version

master

InLong Component

InLong Sort

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

@Yizhou-Yang Yizhou-Yang added the type/bug Something is wrong label Jan 30, 2023
@Yizhou-Yang Yizhou-Yang changed the title [Bug] [Sort] [Bug] [Sort] S3DirtySink flushes too quickly Jan 30, 2023
@dockerzhang dockerzhang added this to the 1.6.0 milestone Jan 31, 2023
@healchow healchow changed the title [Bug] [Sort] S3DirtySink flushes too quickly [Bug][Sort] S3DirtySink flushes too quickly Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/sort type/bug Something is wrong
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants