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 committed Aug 25, 2024
1 parent 2d21b3f commit b720b80
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 b720b80

Please sign in to comment.