Skip to content

Conversation

@englefly
Copy link
Contributor

Proposed changes

abort load task if pending data exceed limit (500M) in table sink

Issue Number: close #xxx

Problem Summary:

Describe the overview of changes.

Checklist(Required)

  1. Does it affect the original behavior: (Yes/No/I Don't know)
  2. Has unit tests been added: (Yes/No/No Need)
  3. Has document been added or modified: (Yes/No/No Need)
  4. Does it need to update dependencies: (Yes/No)
  5. Are there any changes that cannot be rolled back: (Yes/No)

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

@morningman morningman changed the title [hotfix] abort load task if pending data exceed limit in table sink [hotfix](dev-1.0.1) abort load task if pending data exceed limit in table sink Jul 1, 2022
@morningman morningman added the dev/1.0.1-deprecated should be merged into dev-1.0.1 branch label Jul 1, 2022
while(get_pending_bytes() < MAX_PENDING_BYTES){
std::this_thread::sleep_for(std::chrono::microseconds(500));
}
if (get_pending_bytes() > MAX_PENDING_BYTES) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Not a good fix.
If the data size in a single batch is larger than 500MB, user can not load data anymore.

@caiconghui
Copy link
Contributor

what‘s the problem for this PR to solve?

@morningman morningman removed the dev/1.0.1-deprecated should be merged into dev-1.0.1 branch label Jul 2, 2022
@morningman
Copy link
Contributor

Resolve by #10552

@morningman morningman closed this Jul 2, 2022
@englefly englefly deleted the dev-1.0.1-nodechannel branch August 5, 2022 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants