Affects Version/s: 5.5.1
Fix Version/s: 6.0
Using the core admin API i unload a core that is a replica in a small cloud.
Then i recreate the core:
I would assume recreating it and adding it to an existing collection, would automatically also populate the numShards property in core.properties. But it doesn't, and causes NPE with CloudDescriptor.getNumShards() when running custom code.
I can recreate the core correctly via property.name=value but this is not obvious in the documentation.
This is core.properties before unloading:
This is after unloading and recreating: