Skip to content

instance name repeat with es #5535

@a6205206z

Description

@a6205206z

Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • Question or discussion
  • Bug
  • Requirement
  • Feature or performance improvement

Question

  • What do you want to know?

Bug

  • If index ('instance_traffic') is sharded by date, like this (instance_traffic-20200916 or instance_traffic-20200917), the instance name will be repeat.

the code in MetadataQueryEsDAO.java at line 192

        SearchResponse response = getClient().search(InstanceTraffic.INDEX_NAME, sourceBuilder);

        List<ServiceInstance> serviceInstances = new ArrayList<>();
  • Which company or project?

  • What happened?
    If possible, provide a way to reproduce the error. e.g. demo application, component version.


Requirement or improvement

  • Please describe your requirements or improvement suggestions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionEnd user question and discussion.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions