Can we select the custom group for any predicate to control the sharding?

You can use /moveTablet

/moveTablet?tablet=name&group=2 This endpoint can be used to move a tablet to a group. Zero already does shard rebalancing every 8 mins, this endpoint can be used to force move a tablet.
Self-managed cluster - Deploy

But after moving it, Dgraph can reallocate it following its internal rules of balancing data.

Check this idea in this context
https://github.com/dgraph-io/dgraph/issues/4452

1 Like