Orleans: AdoNet Setup: Migrations scripts are missing from instructions #38870
Labels
dotnet-orleans/svc
help wanted
Good for community contributors to help [up-for-grabs]
Pri2
⌚ Not Triaged
Not triaged
Type of issue
Missing information
Description
The docs need to instruct the user to also execute the appropriate SQL Migration script from orleans/src/AdoNet/Orleans.Clustering.AdoNet/Migrations/
As currently written, AdoNet MySql silo persistence will fail on
await host.RunAsync()
withbecause the database does not have the CleanupDefunctSiloEntriesKey function defined in the oddly named MySQL-Clustering-3.7.0.sql file (the name of the file has "Clustering" in it when I suspect the filename should actually have the word "Migrations" in it not "Clustering")
Please note there are pairs of files with the same name in different folders in the project, one set that is oddly not grouped under a sub-folder (they are just in the Orleans.Clustering.AdoNet folder), the other set that is under
Orleans.Clustering.AdoNet/Migrations
. Both sets are have the same filenames (describing them as Clustering scripts) but they have different contents. This naming error(?) may be why the docs are missing the second set. I suspect that the Migrations folder files should be named as Migrations files, and the ungrouped Clustering files should be moved into a Clustering folder, but the docs issue can be resolved simply by referencing the files in the Migrations folder in the docs page.Page URL
https://learn.microsoft.com/en-us/dotnet/orleans/host/configuration-guide/adonet-configuration
Content source URL
https://github.com/dotnet/docs/blob/main/docs/orleans/host/configuration-guide/adonet-configuration.md
Document Version Independent Id
043150e5-4a08-659e-be27-4ea604fad303
Article author
@IEvangelist
Metadata
The text was updated successfully, but these errors were encountered: