Validates sharding configuration and sets defaults where possible.
Validated sharding parameters, with any missing values set to defaults
Validates sharding configuration and sets defaults where possible.