Now each shard is an array of replicas. First replica is always master.
sharding.yaml's format was updated for it
No master-slave replication is implemented yet, neither slaves usage is.