Add missing query CleanupDefunctSiloEntriesKey to MySQL-Clustering - #8896
Merged
ReubenBond merged 3 commits intoAug 10, 2026
Merged
ReubenBond merged 3 commits into
ReubenBond merged 3 commits into
Conversation
ReubenBond
force-pushed
the
fix/add-missing-query-in-mysql-clustering-script
branch
from
February 5, 2025 17:57
823b7d0 to
bb2f6ad
Compare
|
Is there something blocking the merge of this PR? I just had this problem and I see that multiple related issues are opened. |
ReubenBond
force-pushed
the
fix/add-missing-query-in-mysql-clustering-script
branch
from
August 10, 2026 15:10
bb2f6ad to
0973477
Compare
Contributor
Author
|
@dotnet-policy-service agree |
This is the same issue described in dotnet#8676 but for MySQL. This PR will update it in a similar way as dotnet#8811
Preserve existing and customized cleanup queries when the versioned migration follows the base provider script. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Use the MySQL invariant so the provider CI connection string is selected instead of skipping the liveness suite. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8bf7d142-d53c-4bc0-8709-2b3db4807b34
ReubenBond
force-pushed
the
fix/add-missing-query-in-mysql-clustering-script
branch
from
August 10, 2026 15:41
9af569f to
7838e68
Compare
ReubenBond
approved these changes
Aug 10, 2026
This was referenced Aug 28, 2026
Merged
This was referenced Aug 31, 2026
This was referenced Sep 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem:
As written in the issue #8676 and docs, to set up ADO.NET clustering using the MySQL you need to run 2 scripts in sequence:
main script for MySQL
clustering script for MySQL
However, the clustering script does not include the creation of the CleanupDefunctSiloEntriesKey query required by the ADO.NET implementation (Microsoft.Orleans.Clustering.AdoNet) in both the 7.2.x and the 8.0.x versions of Orleans.
Missing query causes an exception at program startup.
Proposed solution:
Add the missing query to clustering sql script.
Followed the same pattern as proposed in #8811
Microsoft Reviewers: Open in CodeFlow