8000 When using the deregisterInstance method to remove one of multiple instances registered by batchRegisterInstance, all instances registered by batchRegisterInstance will be removed. · Issue #10831 · alibaba/nacos · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
When using the deregisterInstance method to remove one of multiple instances registered by batchRegisterInstance, all instances registered by batchRegisterInstance will be removed. #10831
Closed
@Bo-Qiu

Description

@Bo-Qiu

Describe the bug
When using the deregisterInstance method to remove one of multiple instances registered by batchRegisterInstance, all instances registered by batchRegisterInstance will be removed.

Expected behavior
When you use the deregisterInstance method to deregister a specific instance from multiple instances registered through batchRegisterInstance, this will only remove that specific instance, and all other instances will remain.

Actually behavior
When using the deregisterInstance method to remove one of multiple instances registered by batchRegisterInstance, all instances registered by batchRegisterInstance will be removed.

How to Reproduce
Steps to reproduce the behavior:

  1. batchRegisterInstance("demo1", "group", instances);
  2. naming.getAllInstances("demo1", "group", false);
  3. deregisterInstance("demo1", "group", instance1);
  4. naming.getAllInstances("demo1", "group", false);
  5. you will find that the instance list is empty.

Desktop (please complete the following information):

  • OS: [MAC M1]
  • Version [nacos-server 2.2.4, nacos-client 2.2.4]
  • Module [naming]
  • SDK [original]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0