question: public static String constructShardName ( int replicaId , int dbId ) { if ( dbId == 0 ) { return String . valueOf ( replicaId ) ; } else { return String . format ( "%dd%d" , replicaId , dbId ) ; } }
target:  Constructs the shard name given a replica id and DB id