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

CanalRocketMQProducer 通过ExecutorTemplate并发执行,线程池出现一直等待现象 #2434

Closed
2 tasks
zbjice opened this issue Nov 26, 2019 · 0 comments
Closed
2 tasks
Labels
Milestone

Comments

@zbjice
Copy link

zbjice commented Nov 26, 2019

  • I have searched the issues of this repository and believe that this is not a duplicate.
  • I have checked the FAQ of this repository and believe that this is not a duplicate.

environment

  • canal version
    v1.1.5-alpha-1
  • mysql version
    5.7

Issue Description

CanalRocketMQProducer 通过ExecutorTemplate并发执行时,由于提交到线程池里的分表任务、buildMessageData任务、分区发送任务有先后依赖,会出现worker线程相互依赖导致woker线程及主线程都分表任务占用,又一直等待buildMessageData任务、分区发送任务执行,出现一直等待现象

Steps to reproduce

Expected behaviour

线程池里的worker任务不应该产生依赖

Actual behaviour

If there is an exception, please attach the exception trace:

Just put your stack trace here!
@zbjice zbjice changed the title CanalRocketMQProducer CanalRocketMQProducer 通过ExecutorTemplate并发执行,线程池出现一直等待现象 Nov 26, 2019
@agapple agapple closed this as completed Aug 21, 2020
@agapple agapple added the bug label Aug 21, 2020
@agapple agapple added this to the v1.1.5 milestone Aug 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants