This is to load up all the shard names before we set the configuration to nil in the following lines