{"action":"created","issue":{"url":"https://api.github.com/repos/dgraph-io/dgraph/issues/2341","repository_url":"https://api.github.com/repos/dgraph-io/dgraph","labels_url":"https://api.github.com/repos/dgraph-io/dgraph/issues/2341/labels{/name}","comments_url":"https://api.github.com/repos/dgraph-io/dgraph/issues/2341/comments","events_url":"https://api.github.com/repos/dgraph-io/dgraph/issues/2341/events","html_url":"https://github.com/dgraph-io/dgraph/issues/2341","id":315227292,"number":2341,"title":"Assert failed on server start","user":{"login":"zboralski","id":104316,"avatar_url":"https://avatars3.githubusercontent.com/u/104316?v=4","gravatar_id":"","url":"https://api.github.com/users/zboralski","html_url":"https://github.com/zboralski","followers_url":"https://api.github.com/users/zboralski/followers","following_url":"https://api.github.com/users/zboralski/following{/other_user}","gists_url":"https://api.github.com/users/zboralski/gists{/gist_id}","starred_url":"https://api.github.com/users/zboralski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zboralski/subscriptions","organizations_url":"https://api.github.com/users/zboralski/orgs","repos_url":"https://api.github.com/users/zboralski/repos","events_url":"https://api.github.com/users/zboralski/events{/privacy}","received_events_url":"https://api.github.com/users/zboralski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-17T20:41:25Z","updated_at":"2018-04-23T00:00:59Z","closed_at":null,"author_association":"NONE","body":"Single debian 9 server with 32GB of ram\r\n\r\nUsing nightly build... and tried the latest master built from source... and tried reverting to 1.0.4...\r\n\r\n~/go/bin/dgraph zero 2>&1 |tee zero.log\r\n```\r\nSetting up grpc listener at: 0.0.0.0:5080\r\nSetting up http listener at: 0.0.0.0:6080\r\n2018/04/17 20:35:38 node.go:213: Found Snapshot, Metadata: {ConfState:{Nodes:[1] XXX_unrecognized:[]} Index:642048 Term:8 XXX_unrecognized:[]}\r\n2018/04/17 20:35:38 node.go:228: Found hardstate: {Term:21 Vote:1 Commit:642573 XXX_unrecognized:[]}\r\n2018/04/17 20:35:38 node.go:240: Group 0 found 525 entries\r\n2018/04/17 20:35:38 raft.go:420: Restarting node for dgraphzero\r\n2018/04/17 20:35:38 pool.go:158: Echo error from localhost:7080. Err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp [::1]:7080: connect: connection refused\"\r\n2018/04/17 20:35:38 pool.go:108: == CONNECT ==> Setting localhost:7080\r\n2018/04/17 20:35:38 raft.go:567: INFO: 1 became follower at term 21\r\n2018/04/17 20:35:38 raft.go:315: INFO: newRaft 1 [peers: [1], term: 21, commit: 642573, applied: 642048, lastindex: 642573, lastterm: 21]\r\nRunning Dgraph zero...\r\n2018/04/17 20:35:38 raft.go:325: Removing tablet for attr: [_share_hash_], gid: [1]\r\n2018/04/17 20:35:38 raft.go:325: Removing tablet for attr: [_share_hash_], gid: [1]\r\n2018/04/17 20:35:38 raft.go:325: Removing tablet for attr: [_share_hash_], gid: [1]\r\n2018/04/17 20:35:38 raft.go:325: Removing tablet for attr: [_share_hash_], gid: [1]\r\n2018/04/17 20:35:38 raft.go:325: Removing tablet for attr: [_share_hash_], gid: [1]\r\n2018/04/17 20:35:38 raft.go:325: Removing tablet for attr: [fullname], gid: [1]\r\n2018/04/17 20:35:38 raft.go:325: Removing tablet for attr: [fullname], gid: [1]\r\n2018/04/17 20:35:38 raft.go:325: Removing tablet for attr: [fullname], gid: [1]\r\n2018/04/17 20:35:41 raft.go:749: INFO: 1 is starting a new election at term 21\r\n2018/04/17 20:35:41 raft.go:580: INFO: 1 became candidate at term 22\r\n2018/04/17 20:35:41 raft.go:664: INFO: 1 received MsgVoteResp from 1 at term 22\r\n2018/04/17 20:35:41 raft.go:621: INFO: 1 became leader at term 22\r\n2018/04/17 20:35:41 node.go:301: INFO: raft.node: 1 elected leader 1 at term 22\r\n2018/04/17 20:35:48 oracle.go:373: No healthy connection found to leader of group 1\r\n2018/04/17 20:35:48 pool.go:158: Echo error from localhost:7080. Err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp [::1]:7080: connect: connection refused\"\r\n2018/04/17 20:35:58 oracle.go:373: No healthy connection found to leader of group 1\r\n2018/04/17 20:35:58 pool.go:158: Echo error from localhost:7080. Err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp [::1]:7080: connect: connection refused\"\r\n2018/04/17 20:36:08 oracle.go:373: No healthy connection found to leader of group 1\r\n2018/04/17 20:36:08 pool.go:158: Echo error from localhost:7080. Err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp [::1]:7080: connect: connection refused\"\r\n2018/04/17 20:36:18 oracle.go:373: No healthy connection found to leader of group 1\r\n2018/04/17 20:36:18 pool.go:158: Echo error from localhost:7080. Err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp [::1]:7080: connect: connection refused\"\r\n2018/04/17 20:36:28 oracle.go:373: No healthy connection found to leader of group 1\r\n2018/04/17 20:36:28 pool.go:158: Echo error from localhost:7080. Err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp [::1]:7080: connect: connection refused\"\r\n2018/04/17 20:36:38 oracle.go:373: No healthy connection found to leader of group 1\r\n2018/04/17 20:36:38 pool.go:158: Echo error from localhost:7080. Err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp [::1]:7080: connect: connection refused\"\r\n2018/04/17 20:36:48 oracle.go:373: No healthy connection found to leader of group 1\r\n2018/04/17 20:36:48 pool.go:158: Echo error from localhost:7080. Err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp [::1]:7080: connect: connection refused\"\r\n2018/04/17 20:36:58 oracle.go:373: No healthy connection found to leader of group 1\r\n2018/04/17 20:36:58 pool.go:158: Echo error from localhost:7080. Err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp [::1]:7080: connect: connection refused\"\r\n2018/04/17 20:37:08 oracle.go:373: No healthy connection found to leader of group 1\r\n2018/04/17 20:37:08 pool.go:158: Echo error from localhost:7080. Err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp [::1]:7080: connect: connection refused\"\r\n2018/04/17 20:37:18 oracle.go:373: No healthy connection found to leader of group 1\r\n2018/04/17 20:37:18 pool.go:158: Echo error from localhost:7080. Err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp [::1]:7080: connect: connection refused\"\r\n2018/04/17 20:37:28 oracle.go:373: No healthy connection found to leader of group 1\r\n2018/04/17 20:37:28 pool.go:158: Echo error from localhost:7080. Err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp [::1]:7080: connect: connection refused\"\r\n2018/04/17 20:37:38 oracle.go:373: No healthy connection found to leader of group 1\r\n2018/04/17 20:37:38 pool.go:158: Echo error from localhost:7080. Err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp [::1]:7080: connect: connection refused\"\r\n2018/04/17 20:37:48 oracle.go:373: No healthy connection found to leader of group 1\r\n2018/04/17 20:37:48 pool.go:158: Echo error from localhost:7080. Err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp [::1]:7080: connect: connection refused\"\r\n2018/04/17 20:37:58 oracle.go:373: No healthy connection found to leader of group 1\r\n2018/04/17 20:37:58 pool.go:158: Echo error from localhost:7080. Err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp [::1]:7080: connect: connection refused\"\r\n2018/04/17 20:38:08 oracle.go:373: No healthy connection found to leader of group 1\r\n2018/04/17 20:38:08 pool.go:158: Echo error from localhost:7080. Err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp [::1]:7080: connect: connection refused\"\r\n2018/04/17 20:38:18 oracle.go:373: No healthy connection found to leader of group 1\r\n2018/04/17 20:38:18 pool.go:158: Echo error from localhost:7080. Err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp [::1]:7080: connect: connection refused\"\r\n2018/04/17 20:38:28 oracle.go:373: No healthy connection found to leader of group 1\r\n2018/04/17 20:38:28 pool.go:158: Echo error from localhost:7080. Err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp [::1]:7080: connect: connection refused\"\r\n2018/04/17 20:38:38 oracle.go:373: No healthy connection found to leader of group 1\r\n2018/04/17 20:38:38 pool.go:158: Echo error from localhost:7080. Err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp [::1]:7080: connect: connection refused\"\r\n2018/04/17 20:38:48 oracle.go:373: No healthy connection found to leader of group 1\r\n2018/04/17 20:38:48 pool.go:158: Echo error from localhost:7080. Err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp [::1]:7080: connect: connection refused\"\r\n2018/04/17 20:38:58 oracle.go:373: No healthy connection found to leader of group 1\r\n2018/04/17 20:38:58 pool.go:158: Echo error from localhost:7080. Err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp [::1]:7080: connect: connection refused\"\r\n2018/04/17 20:39:08 oracle.go:373: No healthy connection found to leader of group 1\r\n2018/04/17 20:39:08 pool.go:158: Echo error from localhost:7080. Err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp [::1]:7080: connect: connection refused\"\r\n2018/04/17 20:39:18 oracle.go:373: No healthy connection found to leader of group 1\r\n2018/04/17 20:39:18 pool.go:158: Echo error from localhost:7080. Err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp [::1]:7080: connect: connection refused\"\r\n```\r\n\r\n~/go/bin/dgraph server --lru_mb 12000 --zero localhost:5080 2>&1 |tee server.log\r\ncat server.log\r\n```\r\n2018/04/17 20:37:00 Assert failed\r\ngithub.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger/y.AssertTrue\r\n\t/home/dgraph/go/src/github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger/y/error.go:55\r\ngithub.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger.replayFunction.func2\r\n\t/home/dgraph/go/src/github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger/db.go:160\r\ngithub.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger.(*valueLog).iterate\r\n\t/home/dgraph/go/src/github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger/value.go:308\r\ngithub.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger.(*valueLog).Replay\r\n\t/home/dgraph/go/src/github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger/value.go:698\r\ngithub.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger.Open\r\n\t/home/dgraph/go/src/github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger/db.go:295\r\ngithub.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger.OpenManaged\r\n\t/home/dgraph/go/src/github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger/managed_db.go:40\r\ngithub.com/dgraph-io/dgraph/edgraph.(*ServerState).initStorage\r\n\t/home/dgraph/go/src/github.com/dgraph-io/dgraph/edgraph/server.go:127\r\ngithub.com/dgraph-io/dgraph/edgraph.InitServerState\r\n\t/home/dgraph/go/src/github.com/dgraph-io/dgraph/edgraph/server.go:65\r\ngithub.com/dgraph-io/dgraph/dgraph/cmd/server.run\r\n\t/home/dgraph/go/src/github.com/dgraph-io/dgraph/dgraph/cmd/server/run.go:307\r\ngithub.com/dgraph-io/dgraph/dgraph/cmd/server.init.0.func1\r\n\t/home/dgraph/go/src/github.com/dgraph-io/dgraph/dgraph/cmd/server/run.go:54\r\ngithub.com/dgraph-io/dgraph/vendor/github.com/spf13/cobra.(*Command).execute\r\n\t/home/dgraph/go/src/github.com/dgraph-io/dgraph/vendor/github.com/spf13/cobra/command.go:702\r\ngithub.com/dgraph-io/dgraph/vendor/github.com/spf13/cobra.(*Command).ExecuteC\r\n\t/home/dgraph/go/src/github.com/dgraph-io/dgraph/vendor/github.com/spf13/cobra/command.go:783\r\ngithub.com/dgraph-io/dgraph/vendor/github.com/spf13/cobra.(*Command).Execute\r\n\t/home/dgraph/go/src/github.com/dgraph-io/dgraph/vendor/github.com/spf13/cobra/command.go:736\r\ngithub.com/dgraph-io/dgraph/dgraph/cmd.Execute\r\n\t/home/dgraph/go/src/github.com/dgraph-io/dgraph/dgraph/cmd/root.go:42\r\nmain.main\r\n\t/home/dgraph/go/src/github.com/dgraph-io/dgraph/dgraph/main.go:24\r\nruntime.main\r\n\t/usr/local/go/src/runtime/proc.go:198\r\nruntime.goexit\r\n\t/usr/local/go/src/runtime/asm_amd64.s:2361\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/dgraph-io/dgraph/issues/comments/383422475","html_url":"https://github.com/dgraph-io/dgraph/issues/2341#issuecomment-383422475","issue_url":"https://api.github.com/repos/dgraph-io/dgraph/issues/2341","id":383422475,"user":{"login":"pawanrawal","id":7247941,"avatar_url":"https://avatars1.githubusercontent.com/u/7247941?v=4","gravatar_id":"","url":"https://api.github.com/users/pawanrawal","html_url":"https://github.com/pawanrawal","followers_url":"https://api.github.com/users/pawanrawal/followers","following_url":"https://api.github.com/users/pawanrawal/following{/other_user}","gists_url":"https://api.github.com/users/pawanrawal/gists{/gist_id}","starred_url":"https://api.github.com/users/pawanrawal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pawanrawal/subscriptions","organizations_url":"https://api.github.com/users/pawanrawal/orgs","repos_url":"https://api.github.com/users/pawanrawal/repos","events_url":"https://api.github.com/users/pawanrawal/events{/privacy}","received_events_url":"https://api.github.com/users/pawanrawal/received_events","type":"User","site_admin":false},"created_at":"2018-04-23T00:00:59Z","updated_at":"2018-04-23T00:00:59Z","author_association":"MEMBER","body":"@zboralski could you upload this sometime?"}}
{"actor":{"display_login":"pawanrawal"}}