Relations between nodes, replicas and shards