Skip to content

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

Closed

Description

@jayruen
  • 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;

Activity

  1. changed the title [-]dubbo注解@Reference不支持同时存在一个异步 一个同步的类[/-] [+]dubbo注解@Reference不支持同时存在一个异步和一个同步的相同类的service[/+] on Aug 7, 2018
  2. changed the title [-]dubbo注解@Reference不支持同时存在一个异步和一个同步的相同类的service[/-] [+]Annotation @Reference can't support to export a service with a sync one and an async one[/+] on Aug 7, 2018
  3. self-assigned this
    on Aug 13, 2018
  4. added
    type/bug
    on Aug 13, 2018
  5. added this to the 2.6.4 milestone on Aug 13, 2018
  6. diecui1202 commented on Sep 5, 2018

    @diecui1202

    @mercyblitz How about this issue ?

  7. modified the milestones: 2.6.4, 2.6.5 on Sep 14, 2018
  8. cvictory commented on Sep 19, 2018

    @cvictory
    Contributor

    @mercyblitz How is it going?

  9. zonghaishang commented on Sep 20, 2018

    @zonghaishang
    Member

    same as : #2522

    I will fix it this weekend.

  10. self-assigned this
    on Sep 20, 2018
  11. rs-frank commented on Oct 9, 2018

    @rs-frank

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

  12. added a commit that references this issue on Oct 16, 2018
  13. zonghaishang commented on Oct 17, 2018

    @zonghaishang
    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

Metadata

Metadata

Assignees

Labels

type/bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions