I’ve tried on a larger similar dataset/schema with reduce-shards 3, 1 zero, 3 alphas no replication, ubuntu 16.04 machines without using docker (used install scripts)
This dataset I ran locally with docker reduce-shards 2, 1 zero, 2 alphas no replication on ubuntu 18.04
In both scenarios I can inspect/query the predicates, schema, types in ratel fine, but can’t filter by type or see any dgraph.type values until I modify it live.
I tried reproducing the problem but couldn’t. I am guessing the p directory isn’t being picked up by your alpha nodes properly. I am sharing what I did. If you still encounter the problem, then please share the exact commands that you used to run the bulk loader and the alpha nodes. Also please share logs from all the alpha nodes.
I was able to reproduce the bug with --reduce_shards as 3 and map_shards as 4. @cactus222 could you please create an issue on GitHub for this and we’ll get it sorted. From my initial investigation, it seems that although the data for dgraph.type is stored in group 3 when the alpha node for group 1 comes up it starts serving it. So the bug seems to be that alpha1 starts serving it before getting tablet info from Zero.