Skip to content

Dgraph alpha's --my flag doesn't work correctly #5639

@ahsanbarkati

Description

@ahsanbarkati

What version of Dgraph are you using?

v2.0.0-rc1-399-g55e3e9f

Have you tried reproducing the issue with the latest release?

No

What is the hardware spec (RAM, OS)?

RAM: 4 GB, OS: Ubuntu 16.04

Steps to reproduce the issue (command/config used to run Dgraph).

  • Run the zero -> dgraph zero
  • Run the alpha with --my flag -> dgraph alpha --lru_mb=1024 --my=127.0.0.1:7777
  • Run the ratel.

Expected behaviour and actual result.

I expect that the --my flag to set the internal-gRPC's ip:port and the --port_offset to offset the other two ports with respect to the internal-gRPC's.

But, actually the alpha keeps on throwing the following message infinitely.

E0612 03:19:00.902077   10768 groups.go:1095] Error from alpha client subscribe: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp 127.0.0.1:7777: connect: connection refused"

Although, I am able to use ratel for mutations and query as usual.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething is broken.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions