log has predicate_move.go:228: Proposed 5680330 keys. Error:While proposing error: context deadline exceeded
process:
1.use 21million.rdf.gz bulk to server need postings file
command:dgraph bulk -r 21million.rdf.gz -s 21million.schema --map_shards=6 --reduce_shards=2 --http localhost:19000 --zero=localhost:15080
ps: has use one zero to servers
2. setup 3 zero and 3 server cluster
use bulk result set one server postings
waiting rebalance_interval
zero_1 logs
2018/10/30 12:57:34 tablet.go:179:
Groups sorted by size: [{gid:1 size:0} {gid:2 size:0} {gid:3 size:1421860684}]
2018/10/30 12:57:34 tablet.go:184: size_diff 1421860684
2018/10/30 12:57:34 tablet.go:73: Going to move predicate: [name], size: [691 MB] from group 3 to 1
2018/10/30 13:09:00 tablet.go:221: Got error during move: While calling MovePredicate: rpc error: code = Unknown desc = While proposing error: context deadline exceeded
gid 1 logs
2018/10/30 13:08:13 predicate_move.go:41: Writing 277629 keys
2018/10/30 13:08:27 predicate_move.go:41: Writing 277629 keys
2018/10/30 13:08:43 predicate_move.go:41: Writing 277629 keys
2018/10/30 13:09:00 predicate_move.go:228: Proposed 5680330 keys. Error: While proposing error: context deadline exceeded
and gid 3 find gid 2 rebalance
zero 1 logs
2018/10/30 13:09:00 tablet.go:179:
Groups sorted by size: [{gid:2 size:0} {gid:1 size:31} {gid:3 size:1421866726}]
2018/10/30 13:09:00 tablet.go:184: size_diff 1421866726
2018/10/30 13:09:00 tablet.go:73: Going to move predicate: [name], size: [691 MB] from group 3 to 2
2018/10/30 13:12:48 raft.go:763: INFO: 1 [logterm: 2, index: 280, vote: 1] cast MsgPreVote for 3 [logterm: 2, index: 280] at term 2
gid 2 logs
2018/10/30 13:09:01 predicate_move.go:194: Got ReceivePredicate. Group: 2. Am leader: true
2018/10/30 13:09:01 predicate_move.go:143: Receiving predicate. Batching and proposing key values
2018/10/30 13:09:05 predicate_move.go:163: Predicate being received: name
2018/10/30 13:09:05 index.go:929: Dropping predicate: [name]
2018/10/30 13:09:05 schema.go:63: Deleting schema for predicate: [name]
2018/10/30 13:09:11 predicate_move.go:41: Writing 245493 keys
...
2018/10/30 13:28:59 predicate_move.go:41: Writing 717868 keys
2018/10/30 13:29:00 predicate_move.go:228: Proposed 5680330 keys. Error: context canceled
2018/10/30 13:29:01 predicate_move.go:194: Got ReceivePredicate. Group: 2. Am leader: true
2018/10/30 13:29:01 predicate_move.go:143: Receiving predicate. Batching and proposing key values
2018/10/30 13:29:04 predicate_move.go:163: Predicate being received: name
when 1h ago,zero_1 has info
2018/10/30 14:09:01 tablet.go:179:
Groups sorted by size: [{gid:2 size:0} {gid:1 size:31} {gid:3 size:1421866726}]
data no change!
gid 2 as has
2018/10/30 14:09:01 predicate_move.go:228: Proposed 5680330 keys. Error: While proposing error: context deadline exceeded