Skip to content

Add missing query CleanupDefunctSiloEntriesKey to SQLServer clusterin… - #8811

Merged
ReubenBond merged 1 commit into
dotnet:mainfrom
m3nax:fix/add-missing-query-in-sqlserver-clustering-script
Aug 10, 2026
Merged

ReubenBond merged 1 commit into
dotnet:mainfrom
m3nax:fix/add-missing-query-in-sqlserver-clustering-script

Conversation

@m3nax

@m3nax m3nax commented Jan 11, 2024 •

Copy link
Copy Markdown
Contributor

…g script

Problem:

As written in the issue #8676 and docs, to set up ADO.NET clustering using the SQLServer you need to run 2 scripts in sequence:

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.

Ref:

Microsoft Reviewers: Open in CodeFlow

juan-arias added a commit to juan-arias/orleans that referenced this pull request Feb 1, 2024
This is the same issue described in dotnet#8676 but for MySQL.

This PR will update it in a similar way as dotnet#8811
ReubenBond pushed a commit to juan-arias/orleans that referenced this pull request Feb 5, 2025
This is the same issue described in dotnet#8676 but for MySQL.

This PR will update it in a similar way as dotnet#8811
@ReubenBond
ReubenBond force-pushed the fix/add-missing-query-in-sqlserver-clustering-script branch from ca6ce85 to 59760ed Compare August 10, 2026 14:28
ReubenBond pushed a commit to juan-arias/orleans that referenced this pull request Aug 10, 2026
This is the same issue described in dotnet#8676 but for MySQL.

This PR will update it in a similar way as dotnet#8811
@ReubenBond
ReubenBond merged commit 72628f0 into dotnet:main Aug 10, 2026
70 of 71 checks passed
ReubenBond pushed a commit to juan-arias/orleans that referenced this pull request Aug 10, 2026
This is the same issue described in dotnet#8676 but for MySQL.

This PR will update it in a similar way as dotnet#8811
ReubenBond added a commit that referenced this pull request Aug 10, 2026
…8896)

* Add missing query CleanupDefunctSiloEntriesKey to MySQL-Clustering.sql

This is the same issue described in #8676 but for MySQL.

This PR will update it in a similar way as #8811

* fix(adonet): make MySQL clustering migration idempotent

Preserve existing and customized cleanup queries when the versioned migration follows the base provider script.

Co-authored-by: Copilot App <[email protected]>

* test(adonet): run MySQL liveness tests against MySQL

Use the MySQL invariant so the provider CI connection string is selected instead of skipping the liveness suite.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 8bf7d142-d53c-4bc0-8709-2b3db4807b34

---------

Co-authored-by: Reuben Bond <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 8bf7d142-d53c-4bc0-8709-2b3db4807b34
This was referenced Aug 28, 2026
This was referenced Sep 7, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants