Skip to content

Conversation

@knwng
Copy link
Contributor

@knwng knwng commented May 18, 2021

When I use nebula2-python to connect to a nebula cluster deployed by docker-compose, the MetaCache will return an invalid storage address(0.0.0.0:9779) following some valid addresses. But currently the invalid address will crash the entire program.

WARNING:root:storage_addrs: [HostAddr(
    host='0.0.0.0',
    port=9779), HostAddr(
    host='storaged0',
    port=9779), HostAddr(
    host='storaged1',
    port=9779), HostAddr(
    host='storaged2',
    port=9779)]
ERROR:root:Create storage connection to HostAddr(
    host='0.0.0.0',
    port=9779) failed: socket error connecting to host 0.0.0.0, port 9779 (('0.0.0.0', 9779)): ConnectionRefusedError(111, 'Connection refused')

@CLAassistant
Copy link

CLAassistant commented May 18, 2021

CLA assistant check
All committers have signed the CLA.

@wey-gu wey-gu requested a review from laura-ding May 18, 2021 03:14
@yihong0618 yihong0618 mentioned this pull request May 19, 2021
Copy link
Contributor

@laura-ding laura-ding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution!

@laura-ding laura-ding changed the title allow graph storage client to skip some broken connections Modify the list_hosts to return the online hosts May 24, 2021
@laura-ding laura-ding merged commit a80c653 into vesoft-inc:master May 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants