Start adding checks for `number_of_shadow_replicas`