++ hostname + [[ slafferty-dgraph-zero-1 =~ -([0-9]+)$ ]] + ordinal=1 + idx=2 + [[ 1 -eq 0 ]] ++ hostname -f + exec dgraph zero --my=slafferty-dgraph-zero-1.slafferty-dgraph-zero-headless.slafferty.svc.cluster.local:5080 --peer slafferty-dgraph-zero-0.slafferty-dgraph-zero-headless.slafferty.svc.cluster.local:5080 --idx 2 --replicas 5 [Decoder]: Using assembly version of decoder [Sentry] 2020/04/30 23:09:38 Integration installed: ContextifyFrames [Sentry] 2020/04/30 23:09:38 Integration installed: Environment [Sentry] 2020/04/30 23:09:38 Integration installed: Modules [Sentry] 2020/04/30 23:09:38 Integration installed: IgnoreErrors [Decoder]: Using assembly version of decoder [Sentry] 2020/04/30 23:09:38 Integration installed: ContextifyFrames [Sentry] 2020/04/30 23:09:38 Integration installed: Environment [Sentry] 2020/04/30 23:09:38 Integration installed: Modules [Sentry] 2020/04/30 23:09:38 Integration installed: IgnoreErrors I0430 23:09:39.095124 20 init.go:99] Dgraph version : v20.03.0 Dgraph SHA-256 : 07e63901be984bd20a3505a2ee5840bb8fc4f72cc7749c485f9f77db15b9b75a Commit SHA-1 : 147c8df9 Commit timestamp : 2020-03-30 17:28:31 -0700 Branch : HEAD Go version : go1.14.1 For Dgraph official documentation, visit https://docs.dgraph.io. For discussions about Dgraph , visit https://discuss.dgraph.io. To say hi to the community , visit https://dgraph.slack.com. Licensed variously under the Apache Public License 2.0 and Dgraph Community License. Copyright 2015-2020 Dgraph Labs, Inc. I0430 23:09:39.098303 20 run.go:105] Setting up grpc listener at: 0.0.0.0:5080 I0430 23:09:39.098975 20 run.go:105] Setting up http listener at: 0.0.0.0:6080 badger 2020/04/30 23:09:39 INFO: All 1 tables opened in 14ms badger 2020/04/30 23:09:39 INFO: Replaying file id: 0 at offset: 43046550 badger 2020/04/30 23:09:39 INFO: Replay took: 253.377436ms badger 2020/04/30 23:09:39 DEBUG: Value log discard stats empty I0430 23:09:39.458175 20 node.go:145] Setting raft.Config to: &{ID:2 peers:[] learners:[] ElectionTick:20 HeartbeatTick:1 Storage:0xc006d67320 Applied:209146 MaxSizePerMsg:262144 MaxCommittedSizePerReady:67108864 MaxUncommittedEntriesSize:0 MaxInflightMsgs:256 CheckQuorum:false PreVote:true ReadOnlyOption:0 Logger:0x260a270 DisableProposalForwarding:false} I0430 23:09:39.458468 20 node.go:303] Found Snapshot.Metadata: {ConfState:{Nodes:[1 2 3] Learners:[] XXX_unrecognized:[]} Index:209146 Term:45 XXX_unrecognized:[]} I0430 23:09:39.458505 20 node.go:314] Found hardstate: {Term:46 Vote:1 Commit:212236 XXX_unrecognized:[]} I0430 23:09:39.567219 20 node.go:323] Group 0 found 3091 entries I0430 23:09:39.567249 20 raft.go:447] Restarting node for dgraphzero I0430 23:09:39.567276 20 node.go:182] Setting conf state to nodes:1 nodes:2 nodes:3 I0430 23:09:39.567904 20 pool.go:160] CONNECTING to slafferty-dgraph-alpha-1.slafferty-dgraph-alpha-headless.slafferty.svc.cluster.local:7080 I0430 23:09:39.568036 20 pool.go:160] CONNECTING to slafferty-dgraph-alpha-2.slafferty-dgraph-alpha-headless.slafferty.svc.cluster.local:7080 I0430 23:09:39.568092 20 pool.go:160] CONNECTING to slafferty-dgraph-alpha-0.slafferty-dgraph-alpha-headless.slafferty.svc.cluster.local:7080 I0430 23:09:39.568132 20 pool.go:160] CONNECTING to slafferty-dgraph-zero-0.slafferty-dgraph-zero-headless.slafferty.svc.cluster.local:5080 I0430 23:09:39.568153 20 pool.go:160] CONNECTING to slafferty-dgraph-zero-2.slafferty-dgraph-zero-headless.slafferty.svc.cluster.local:5080 W0430 23:09:39.575272 20 pool.go:254] Connection lost with slafferty-dgraph-alpha-0.slafferty-dgraph-alpha-headless.slafferty.svc.cluster.local:7080. Error: rpc error: code = Unknown desc = No node has been set up yet W0430 23:09:39.576803 20 pool.go:254] Connection lost with slafferty-dgraph-alpha-1.slafferty-dgraph-alpha-headless.slafferty.svc.cluster.local:7080. Error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp 10.12.215.18:7080: connect: no route to host" W0430 23:09:39.579453 20 pool.go:254] Connection lost with slafferty-dgraph-alpha-2.slafferty-dgraph-alpha-headless.slafferty.svc.cluster.local:7080. Error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp: lookup slafferty-dgraph-alpha-2.slafferty-dgraph-alpha-headless.slafferty.svc.cluster.local: no such host" W0430 23:09:39.585316 20 pool.go:254] Connection lost with slafferty-dgraph-zero-2.slafferty-dgraph-zero-headless.slafferty.svc.cluster.local:5080. Error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp: lookup slafferty-dgraph-zero-2.slafferty-dgraph-zero-headless.slafferty.svc.cluster.local: no such host" I0430 23:09:39.631025 20 log.go:34] 2 became follower at term 46 I0430 23:09:39.631946 20 log.go:34] newRaft 2 [peers: [1,2,3], term: 46, commit: 212236, applied: 209146, lastindex: 212236, lastterm: 46] I0430 23:09:39.632555 20 run.go:296] Running Dgraph Zero... I0430 23:09:39.640629 20 raft.go:380] Could not apply proposal, ignoring: p.MaxLeaseId=33570000, p.MaxTxnTs=0 maxLeaseId=33580000 maxTxnTs=600000 I0430 23:09:39.640945 20 raft.go:380] Could not apply proposal, ignoring: p.MaxLeaseId=33580000, p.MaxTxnTs=0 maxLeaseId=33580000 maxTxnTs=600000 I0430 23:09:39.641540 20 oracle.go:107] Purged below ts:597459, len(o.commits):210, len(o.rowCommit):0 I0430 23:09:40.633098 20 log.go:34] 2 no leader at term 46; dropping index reading msg I0430 23:09:40.877904 20 log.go:34] 2 [logterm: 46, index: 212236, vote: 1] cast MsgPreVote for 1 [logterm: 46, index: 212236] at term 46 I0430 23:09:40.878944 20 log.go:34] 2 [logterm: 46, index: 212236, vote: 1] cast MsgPreVote for 1 [logterm: 46, index: 212236] at term 46 I0430 23:09:41.883991 20 log.go:34] 2 [term: 46] received a MsgVote message with higher term from 1 [term: 47] I0430 23:09:41.884240 20 log.go:34] 2 became follower at term 47 I0430 23:09:41.884471 20 log.go:34] 2 [logterm: 46, index: 212236, vote: 0] cast MsgVote for 1 [logterm: 46, index: 212236] at term 47 I0430 23:09:41.888808 20 log.go:34] raft.node: 2 elected leader 1 at term 47 W0430 23:09:42.633369 20 node.go:671] [0x2] Read index context timed out