Dgraph v21.12: Zion - The Last City Standing - Dgraph Blog

Forbid Massive Fan-outs
In v21.12, we have added a flag to forbid any key which has greater than 1000 splits by marking it forbidden in Badger. Once a key is forbidden, that key would continue to drop data and would always return an empty result.

We want to know how to handle the situation that 10,000,000 nodes has the same label? It’s hard to make the label as value in case of special treatment. Then in v21.12 how can I count total number of nodes belonging to the same label?

Sincerely hope to get your answer!