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

Annotation @Reference can't support to export a service with a sync one and an async one #2194

Closed
2 tasks
jayruen opened this issue Aug 7, 2018 · 5 comments
Closed
2 tasks
Assignees
Labels
type/bug Bugs to being fixed
Milestone

Comments

@jayruen
Copy link

jayruen commented Aug 7, 2018

  • 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

  • Dubbo version: 2.6.2
  • Operating System version: Win7
  • Java version: 1.8

Step to reproduce this issue

不支持同时存在一个异步引用和一个同步引用,dubbo注入两个对象的地址都是相同的,第一个如果是异步则两个都是异步。 第一如果是同步则两个都是同步

@Reference(async = true)
private DebugService ansyncDebugService;

@Reference(async = false)
private DebugService debugService;
@jayruen jayruen changed the title dubbo注解@Reference不支持同时存在一个异步 一个同步的类 dubbo注解@Reference不支持同时存在一个异步和一个同步的相同类的service Aug 7, 2018
@kimmking kimmking changed the title dubbo注解@Reference不支持同时存在一个异步和一个同步的相同类的service Annotation @Reference can't support to export a service with a sync one and an async one Aug 7, 2018
@mercyblitz mercyblitz self-assigned this Aug 13, 2018
@mercyblitz mercyblitz added the type/bug Bugs to being fixed label Aug 13, 2018
@mercyblitz mercyblitz added this to the 2.6.4 milestone Aug 13, 2018
@diecui1202
Copy link

@mercyblitz How about this issue ?

@diecui1202 diecui1202 modified the milestones: 2.6.4, 2.6.5 Sep 14, 2018
@cvictory
Copy link
Contributor

@mercyblitz How is it going?

@zonghaishang
Copy link
Member

same as : #2522

I will fix it this weekend.

@zonghaishang zonghaishang self-assigned this Sep 20, 2018
@rs-frank
Copy link

rs-frank commented Oct 9, 2018

这个问题是不是 2.6.4已经解决了? 貌似现在 可以了。
在一个方法内测试了一下 还没有具体多个地方测试 不清楚是不是Context在同一个Context的原因

@zonghaishang
Copy link
Member

fixed, close it now. see : #2649

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Bugs to being fixed
Projects
None yet
Development

No branches or pull requests

6 participants