Skip to content

QOS Ready command return OK when DubboBootstrap is not ready #7332

@nickwongwong

Description

@nickwongwong
  • 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.7.8
  • Operating System version: MacOS
  • Java version: 8
  • Service register: nacos
  • spring-cloud-starter-dubbo 2.2.2.RELEASE

Steps to reproduce this issue

  1. Change dubbo register server into a bad address(like incorrect port)
  2. Start dubbo application
  3. Check QOS ready command, return true(as OK). curl "localhost:22222/ready"
    image
    image

Expected Result

QOS ready command return "false", when DubboBootstrap is not ready or start failed.

Actual Result

return "true" as OK

relative PR

#5873

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions