Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
CodeFirst Shard DB Creation missing Sharding Schema/SPs #147
Exception thrown "Could not find stored procedure '__ShardManagement.spBulkOperationShardMappingsLocal'"
When ListShardMap.CreatePointMapping is called on the freshly created Shard DB.
I can confirm that the EF schemas have been created properly but all the sharding schemas and SPs are not present.
Seems to occur more often we dropping and recreating a shard with the same name using the same Shard Manager DB
client version 1.3.3
Before deleting a shard database, you should remove it from the shard map manager using
At this point since you already deleted the database, you can instead remove the shard db from the shard map manager using
So then if you create a new database with the same name, you need to call