Skip to content

Commit

Permalink
Add missing query CleanupDefunctSiloEntriesKey to PostgreSQL-Clusteri…
Browse files Browse the repository at this point in the history
…ng.sql
  • Loading branch information
tomaszstrejczek authored and ReubenBond committed Oct 1, 2024
1 parent ae262c8 commit 6f3f9d5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/AdoNet/Orleans.Clustering.AdoNet/PostgreSQL-Clustering.sql
Original file line number Diff line number Diff line change
Expand Up @@ -344,3 +344,14 @@ VALUES
AND Status = @Status AND @Status IS NOT NULL
AND ProxyPort > 0;
');

INSERT INTO OrleansQuery(QueryKey, QueryText)
VALUES
(
'CleanupDefunctSiloEntriesKey',
'DELETE FROM OrleansMembershipTable
WHERE DeploymentId = @DeploymentId
AND @DeploymentId IS NOT NULL
AND IAmAliveTime < @IAmAliveTime
AND Status != 3;
');

0 comments on commit 6f3f9d5

Please sign in to comment.