Skip to content

[BUG] retry submit exception is not catched #4795

@xinghuayu007

Description

@xinghuayu007

Describe the bug
When Load Job Task Queue is filled, continue to submit more jobs to the queue will cause RejectedExecutionException, and the load job will be retried. But callback.onTaskFailed function does not catch the exception, that will cause re-submitting job failed, and status is not updated to failed.

To Reproduce
Steps to reproduce the behavior:

  1. set FE configuration: async_load_task_pool_size=30
  2. create a table
  3. create more than 60 broker load jobs, start them concurrently to fill the broker load job queue.
  4. See error
    2020-10-26 19-46-31屏幕截图
    2020-10-26 19-46-49屏幕截图
    the status of job is not updated to failed.
    2020-10-26 21-48-50屏幕截图

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions