Skip to content

[Cluster] Clean dead server #711

@orgrimarr

Description

@orgrimarr

Environment

  • ArangoJS: 7.2.0
  • ArangoDB 3.7.5 Cluster
    • Tested on docker
    • Tested on windows

Description

Arangojs connected to a cluster in ROUND_ROBIN mode does not clean dead servers from the host list.

Arangojs provide a method : acquireHostList but this function append new coordinator to the host list using addToHostList function.

I suggest to change the acquireHostList function to replace the host list with the list of available server from /_api/cluster/endpoints

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature RequestRequest for new functionality to be added to the driver.semver-minorThis issue does not require any backwards-incompatible changes to address.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions