Skip to content

Conversation

@morningman
Copy link
Contributor

@morningman morningman commented Nov 9, 2020

Proposed changes

  1. The fix load meta bug logic should be removed since 0.12.
  2. The load task thread pool's waiting queue should be as long as desired pending jobs num.
  3. Submit the load task outside database lock to prevent holding lock for long time.
  4. Use 2 thread pools for loading and pending load tasks, separately. To avoid dead lock submission.

Types of changes

  • Bugfix (non-breaking change which fixes an issue)

Checklist

1. The fix load meta bug logic should be removed since 0.12.
2. The load task thread pool's waiting queue should be as long as desired pending jobs num.
3. Submit the load task outside database lock to prevent holding lock for long time.
@morningman morningman added kind/fix Categorizes issue or PR as related to a bug. area/load Issues or PRs related to all kinds of load labels Nov 9, 2020
@EmmyMiao87
Copy link
Contributor

Waiting for checking Unit test

Copy link
Contributor

@EmmyMiao87 EmmyMiao87 left a comment

Choose a reason for hiding this comment

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

LGTM

@morningman morningman added the approved Indicates a PR has been approved by one committer. label Nov 9, 2020
@yangzhg yangzhg merged commit 4204a87 into apache:master Nov 10, 2020
@yangzhg yangzhg mentioned this pull request Feb 9, 2021
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. area/load Issues or PRs related to all kinds of load kind/fix Categorizes issue or PR as related to a bug.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug][Load] Load task submit logic has some errors.

3 participants